import request from "../utils/request";
import rijiangyu from "../utils/rijiangyu";
import xiaoliuyu from "../utils/xiaoliuyu";
import xiaoliuyujiangyu from "../utils/xiaoliuyujiangyu";
export const fetchData = (query) => {
  return request({
    url: "/getZukeList",
    method: "post",
    params: query,
  });
};
// 分页查询降雨监测记录
//soilWater/manage/rainfallMonitor/view/pageRainfallMonitorData

export const soilWatermanagerainfallMonitorviewpageRainfallMonitorData = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/manage/rainfallMonitor/view/pageRainfallMonitorData",
    method: "post",
    params: query,
    data: query,
  });
};

///soilWater/manage/rainfallMonitor/save/saveRainfallMonitorData
//新增-修改降雨监测记录

export const soilWatermanagerainfallMonitorsavesaveRainfallMonitorData = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/manage/rainfallMonitor/save/saveRainfallMonitorData",
    method: "post",
    params: query,
    data: query,
  });
};

///soilWater/manage/rainfallMonitor/remove/delRainfallMonitorData
//删除降雨监测记录

export const soilWatermanagerainfallMonitorremovedelRainfallMonitorData = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/manage/rainfallMonitor/remove/delRainfallMonitorData",
    method: "post",
    params: query,
    data: query,
  });
};

/////soilWater/manage/rainfallMonitor/download/downloadRainfallMonitorTemp
//下载降雨监测数据导入模板
export const soilWatermanagerainfallMonitordownloaddownloadRainfallMonitorTemp =
  (query) => {
    return xiaoliuyu({
      url: "/soilWater/manage/rainfallMonitor/download/downloadRainfallMonitorTemp",
      method: "post",
      params: query,
      data: query,
      responseType: "blob",
    });
  };

/////soilWater/manage/waterMonitor/view/pageWaterMonitorData
//分页查询水位监测记录
export const soilWatermanagewaterMonitorviewpageWaterMonitorData = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/waterMonitor/view/pageWaterMonitorData",
    method: "post",
    params: query,
    data: query,
  });
};

/////soilWater/manage/waterMonitor/save/saveWaterMonitorData
//新增-修改水位监测记录
export const soilWatermanagewaterMonitorsavesaveWaterMonitorData = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/waterMonitor/save/saveWaterMonitorData",
    method: "post",
    params: query,
    data: query,
  });
};

/////soilWater/manage/waterMonitor/save/saveWaterMonitorData
//删除降雨监测记录
export const soilWatermanagewaterMonitorremovedelWaterMonitorData = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/waterMonitor/remove/delWaterMonitorData",
    method: "post",
    params: query,
    data: query,
  });
};

//////soilWater/manage/waterMonitor/download/downloadWaterMonitorTemp
//下载水位监测数据导入模板
export const soilWatermanagewaterMonitordownloaddownloadWaterMonitorTemp = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/manage/waterMonitor/download/downloadWaterMonitorTemp",
    method: "post",
    params: query,
    data: query,
    responseType: "blob",
  });
};

////soilWater/manage/contractManage/export/exportContract
//导出合同列表
export const soilWatermanagecontractManageexportexportContract = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/contractManage/export/exportContract",
    method: "post",
    params: query,
    data: query,
    responseType: "blob",
  });
};

//////soilWater/manage/contractManage/view/pageContract
//分页查询合同
export const soilWatermanagecontractManageviewpageContract = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/contractManage/view/pageContract",
    method: "post",
    params: query,
    data: query,
  });
};

//////soilWater/manage/contractManage/save/saveContract
//新增-修改合同记录
export const soilWatermanagecontractManagesavesaveContract = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/contractManage/save/saveContract",
    method: "post",
    params: query,
    data: query,
  });
};

///////soilWater/manage/contractManage/remove/delContract
//删除合同
export const soilWatermanagecontractManageremovedelContract = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/contractManage/remove/delContract",
    method: "post",
    params: query,
    data: query,
  });
};

////soilWater/manage/deviceRecord/view/pageDeviceRecord
//删除合同
export const soilWatermanagedeviceRecordviewpageDeviceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/deviceRecord/view/pageDeviceRecord",
    method: "post",
    params: query,
    data: query,
  });
};

////soilWater/manage/deviceRecord/save/saveDeviceRecord
//新增-修改设备清单
export const soilWatermanagedeviceRecordsavesaveDeviceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/deviceRecord/save/saveDeviceRecord",
    method: "post",
    params: query,
    data: query,
  });
};

/////soilWater/manage/deviceRecord/remove/delDeviceRecord
//删除设备清单
export const soilWatermanagedeviceRecordremovedelDeviceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/deviceRecord/remove/delDeviceRecord",
    method: "post",
    params: query,
    data: query,
  });
};

/////soilWater/manage/deviceRecord/export/exportDeviceRecord
//导出设备清单列表
export const soilWatermanagedeviceRecordexportexportDeviceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/deviceRecord/export/exportDeviceRecord",
    method: "post",
    params: query,
    data: query,
    responseType: "blob",
  });
};

/////soilWater/manage/documentation/view/pageDocumentationRecord
//分页查询归档记录
export const soilWatermanagedocumentationviewpageDocumentationRecord = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/manage/documentation/view/pageDocumentationRecord",
    method: "post",
    params: query,
    data: query,
  });
};

//、/soilWater/manage/documentation/save/saveDocumentationRecord
//新增-修改归档记录
export const soilWatermanagedocumentationsavesaveDocumentationRecord = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/manage/documentation/save/saveDocumentationRecord",
    method: "post",
    params: query,
    data: query,
  });
};

//、soilWatermanagedocumentationsavesaveDocumentationRecord
//删除归档记录
export const soilWatermanagedocumentationremovedelDocumentationRecord = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/manage/documentation/remove/delDocumentationRecord",
    method: "post",
    params: query,
    data: query,
  });
};

//soilWater/manage/documentation/export/exportDocumentationRecord
//导出归档记录列表
export const soilWatermanagedocumentationexportexportDocumentationRecord = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/manage/documentation/export/exportDocumentationRecord",
    method: "post",
    params: query,
    data: query,
    responseType: "blob",
  });
};

//、、、、/soilWater/manage/maintenance/save/saveMaintenanceRecord
//新增-修改维修记录
export const soilWatermanagemaintenancesavesaveMaintenanceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/maintenance/save/saveMaintenanceRecord",
    method: "post",
    params: query,
    data: query,
  });
};

//、、、、/soilWater/manage/maintenance/save/saveMaintenanceRecord
//删除维修记录
export const soilWatermanagemaintenanceremovedelMaintenanceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/maintenance/remove/delMaintenanceRecord",
    method: "post",
    params: query,
    data: query,
  });
};

///soilWater/manage/maintenance/export/exportMaintenanceRecord
//导出维修记录列表
export const soilWatermanagemaintenanceexportexportMaintenanceRecord = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/manage/maintenance/export/exportMaintenanceRecord",
    method: "post",
    params: query,
    data: query,
    responseType: "blob",
  });
};

//导出归档记录列表
export const soilWatermanagemaintenanceviewpageMaintenanceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/maintenance/view/pageMaintenanceRecord",
    method: "post",
    params: query,
    data: query,
  });
};

////soilWater/runoffField/reorganize/land/remove/delRecord
export const soilWaterrunoffFieldreorganizelandremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/remove/delRecord",
    method: "get",
    params: query,
    data: query,
  });
};

// （新）批量修改次降雨计算标识
//   POST /soilWater/runoffField/rainfall/sequence/edit/updateCalFlag
//   接口ID：99421127
//   接口地址：https://app.apifox.com/link/project/945884/apis/api-99421127
export const soilWaterrunoffFieldrainfallsequenceeditupdateCalFlag = (
  query
) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/sequence/edit/updateCalFlag",
    method: "post",
    params: query,
    data: query,
  });
};

// 列表查询年度降雨过程整编明细
//   GET /soilWater/runoffField/reorganize/progress/view/listDetail
//   接口ID：42275886
//   接口地址：https://app.apifox.com/link/project/945884/apis/api-42275886

export const soilWaterrunoffFieldreorganizeprogressviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/progress/view/listDetail",
    method: "post",
    params: query,
    data: query,
  });
};

// 添加年度降雨过程整编明细
//   POST /soilWater/runoffField/reorganize/progress/save/addDetail
//   接口ID：42275405
//   接口地址：https://app.apifox.com/link/project/945884/apis/api-42275405

export const soilWaterrunoffFieldreorganizeprogresssaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/progress/save/addDetail",
    method: "post",

    data: query,
  });
};

// (新)单条修改日降雨明细
//   POST /soilWater/runoffField/record/rainRecord/edit/updateDetail
//   接口ID：98814039
//   接口地址：https://app.apifox.com/link/project/945884/apis/api-98814039
export const smallbasinrecordrainfalleditupdateDetail = (query) => {
  return rijiangyu({
    url: "/small/basin/record/rainfall/edit/updateDetail",
    method: "post",
    params: query,
    data: query,
  });
};

// (新)单条修改日降雨明细
//   POST /soilWater/runoffField/record/rainRecord/edit/updateDetail
//   接口ID：98814039
//   接口地址：https://app.apifox.com/link/project/945884/apis/api-98814039
export const soilWaterrunoffFieldrecordrainRecordeditupdateDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/rainRecord/edit/updateDetail",
    method: "post",
    params: query,
    data: query,
  });
};

// 删除年度降雨过程整编记录(包括对应明细)
//   GET /soilWater/runoffField/reorganize/progress/remove/delRecord
//   接口ID：42275960
//   接口地址：https://app.apifox.com/link/project/945884/apis/api-42275960
export const soilWaterrunoffFieldreorganizeprogressremovedelRecord = (
  query
) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/progress/remove/delRecord",
    method: "get",
    params: query,
    data: query,
  });
};

// 分页查询年度降雨过程整编记录
//   POST /soilWater/runoffField/reorganize/progress/view/pageRecord
//   接口ID：42275545
//   接口地址：https://app.apifox.com/link/project/945884/apis/api-42275545

export const soilWaterrunoffFieldreorganizeprogressviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/progress/view/pageRecord",
    method: "post",
    params: query,
    data: query,
  });
};

// 新增/修改年度降雨过程整编记录
//   POST /soilWater/runoffField/reorganize/progress/save/saveRecord
//   接口ID：42275242
//   接口地址：https://app.apifox.com/link/project/945884/apis/api-42275242

export const soilWaterrunoffFieldreorganizeprogresssavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/progress/save/saveRecord",
    method: "post",
    params: query,
    data: query,
  });
};

// (新)查询日降雨数据用于记录表明细
//   GET /soilWater/runoffField/record/rainRecord/view/listRainfall2Record
//   接口ID：98704813
//   接口地址：https://app.apifox.com/link/project/945884/apis/api-98704813
export const smallbasinrecordrainfallviewlistRainfall2Record = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/rainfall/view/listRainfall2Record",
    method: "post",
    params: query,
    data: query,
  });
};

// (新)查询日降雨数据用于记录表明细
//   GET /soilWater/runoffField/record/rainRecord/view/listRainfall2Record
//   接口ID：98704813
//   接口地址：https://app.apifox.com/link/project/945884/apis/api-98704813
export const soilWaterrunoffFieldrecordrainRecordviewlistRainfall2Record = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/runoffField/record/rainRecord/view/listRainfall2Record",
    method: "post",
    params: query,
    data: query,
  });
};

// 根据测站编号查询流域基础信息
//   GET /small/basin/basic/basinInfo/view/getDetailByStcd
//   接口ID：62025355
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-62025355
export const smallbasinbasicbasinInfoviewgetDetailByStcd = (query) => {
  return xiaoliuyu({
    url: "/small/basin/basic/basinInfo/view/getDetailByStcd",
    method: "get",
    params: query,
  });
};

// 查询流域基础信息
//   GET /small/basin/basic/basinInfo/view/getDetail
//   接口ID：59260850
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-59260850

export const smallbasinbasicbasinInfoviewgetDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/basic/basinInfo/view/getDetail",
    method: "get",
    params: query,
  });
};

// 新增/修改流域基础信息
//   POST /small/basin/basic/basinInfo/save/saveRecord
//   接口ID：59258313
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-59258313
export const smallbasinbasicbasinInfosavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/basic/basinInfo/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 删除流域基础信息记录
//   GET /small/basin/basic/basinInfo/remove/delRecord
//   接口ID：59260934
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-59260934
export const smallbasinbasicbasinInforemovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/basic/basinInfo/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询流域基础信息记录
//   POST /small/basin/basic/basinInfo/view/pageRecord
//   接口ID：59260521
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-59260521

export const smallbasinbasicbasinInfoviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/basic/basinInfo/view/pageRecord",
    method: "post",
    data: query,
  });
};

// (新)重置密码
//   POST /soil/water/sys/user/edit/resetPassword
//   接口ID：59356682
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-59356682
export const soilwatersysusereditresetPassword = (query) => {
  return request({
    url: "/soil/water/sys/user/edit/resetPassword",
    method: "post",
    data: query,
  });
};

// (新)修改密码
//   POST /soil/water/sys/user/edit/modifyPassword
//   接口ID：59330882
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-59330882
export const soilwatersysusereditmodifyPassword = (query) => {
  return request({
    url: "/soil/water/sys/user/edit/modifyPassword",
    method: "post",
    data: query,
  });
};

// (新)查询降雨小于12mm且无15min内降降雨超6mm的次降雨数据
//   POST /soilWater/runoffField/calculate/rainfall/view/selfSelectionRainfall
//   接口ID：60375466
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-60375466

export const soilWaterrunoffFieldcalculaterainfallviewselfSelectionRainfall = (
  query
) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/view/selfSelectionRainfall",
    method: "post",
    data: query,
  });
};

// 添加年土壤含水量整编明细
// POST /small/basin/reorganize/soilMoisture/save/addDetail
// 接口ID：49192393
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-49192393
export const smallbasinreorganizesoilMoisturesaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/soilMoisture/save/addDetail",
    method: "post",
    data: query,
  });
};

// 获取年土壤含水量待整编数据
// GET /small/basin/reorganize/soilMoisture/view/selectReorganizeData
// 接口ID：49192168
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-49192168

export const smallbasinreorganizesoilMoistureviewselectReorganizeData = (
  query
) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/soilMoisture/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

// 批量删除日常检查维护明细
//   POST /small/basin/record/dailyCheck/remove/delDetail
//   接口ID：43744536
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-43744536

export const smallbasinrecorddailyCheckremovedelDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/dailyCheck/remove/delDetail",
    method: "post",
    data: query.data,
    params: {
      headNo: query.headNo,
    },
  });
};

// 列表查询年土壤含水量整编明细
// GET /small/basin/reorganize/soilMoisture/view/listDetail
// 接口ID：49192635
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-49192635
export const smallbasinreorganizesoilMoistureviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/soilMoisture/view/listDetail",
    method: "get",
    params: query,
  });
};

// 删除年土壤含水量整编记录(包括对应明细)
// GET /small/basin/reorganize/soilMoisture/remove/delRecord
// 接口ID：49192727
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-49192727
export const smallbasinreorganizesoilMoistureremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/soilMoisture/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 新增/修改年土壤含水量整编记录
// POST /small/basin/reorganize/soilMoisture/save/saveRecord
// 接口ID：49192176
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-49192176

export const smallbasinreorganizesoilMoisturesavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/soilMoisture/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 分页查询年土壤含水量整编记录
// POST /small/basin/reorganize/soilMoisture/view/pageRecord
// 接口ID：49192464
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-49192464

export const smallbasinreorganizesoilMoistureviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/soilMoisture/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 获取逐次洪水径流泥沙待整编数据
// GET /small/basin/reorganize/floodSediment/view/selectReorganizeData
// 接口ID：48557957
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48557957

export const smallbasinreorganizefloodSedimentviewselectReorganizeData = (
  query
) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/floodSediment/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

// 查询流域基础信息整编记录详情
// GET /small/basin/reorganize/basicInfo/view/getDetail
// 接口ID：47447386
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47447386

export const smallbasinreorganizebasicInfoviewgetDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/basicInfo/view/getDetail",
    method: "get",
    params: query,
  });
};

// 获取年径流泥沙待整编数据
// GET /small/basin/reorganize/yearSediment/view/selectReorganizeData
// 接口ID：48710629
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48710629
export const smallbasinreorganizeyearSedimentviewselectReorganizeData = (
  query
) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/yearSediment/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

// 列表查询年径流泥沙整编明细
// GET /small/basin/reorganize/yearSediment/view/listDetail
// 接口ID：48711431
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48711431
export const smallbasinreorganizeyearSedimentviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/yearSediment/view/listDetail",
    method: "get",
    params: query,
  });
};

// 添加年径流泥沙整编明细
// POST /small/basin/reorganize/yearSediment/save/addDetail
// 接口ID：48711236
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48711236
export const smallbasinreorganizeyearSedimentsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/yearSediment/save/addDetail",
    method: "post",
    data: query,
  });
};

// 删除年径流泥沙整编记录(包括对应明细)
// GET /small/basin/reorganize/yearSediment/remove/delRecord
// 接口ID：48711730
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48711730

export const smallbasinreorganizeyearSedimentremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/yearSediment/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询年径流泥沙整编记录
// POST /small/basin/reorganize/yearSediment/view/pageRecord
// 接口ID：48711285
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48711285
export const smallbasinreorganizeyearSedimentviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/yearSediment/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 新增/修改年径流泥沙整编记录
// POST /small/basin/reorganize/yearSediment/save/saveRecord
// 接口ID：48710698
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48710698

export const smallbasinreorganizeyearSedimentsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/yearSediment/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 列表查询逐次洪水径流泥沙整编明细
// GET /small/basin/reorganize/floodSediment/view/listDetail
// 接口ID：48558051
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48558051

export const smallbasinreorganizefloodSedimentviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/floodSediment/view/listDetail",
    method: "get",
    params: query,
  });
};

// 添加逐次洪水径流泥沙整编明细
// POST /small/basin/reorganize/floodSediment/save/addDetail
// 接口ID：48558013
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48558013
export const smallbasinreorganizefloodSedimentsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/floodSediment/save/addDetail",
    method: "post",
    data: query,
  });
};

// 删除逐次洪水径流泥沙整编记录(包括对应明细)
// GET /small/basin/reorganize/floodSediment/remove/delRecord
// 接口ID：48558088
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48558088
export const smallbasinreorganizefloodSedimentremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/floodSediment/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询逐次洪水径流泥沙整编记录
// POST /small/basin/reorganize/floodSediment/view/pageRecord
// 接口ID：48558028
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48558028
export const smallbasinreorganizefloodSedimentviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/floodSediment/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 新增/修改逐次洪水径流泥沙整编记录
// POST /small/basin/reorganize/floodSediment/save/saveRecord
// 接口ID：48558006
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48558006
export const smallbasinreorganizefloodSedimentsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/floodSediment/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 列表查询径流泥沙过程整编明细
// GET /small/basin/reorganize/sedimentProgress/view/listDetail
// 接口ID：48405600
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48405600
export const smallbasinreorganizesedimentProgressviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentProgress/view/listDetail",
    method: "get",
    params: query,
  });
};

// 添加径流泥沙过程整编明细
// POST /small/basin/reorganize/sedimentProgress/save/addDetail
// 接口ID：48405317
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48405317

export const smallbasinreorganizesedimentProgresssaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentProgress/save/addDetail",
    method: "post",
    data: query,
  });
};

// 获取径流泥沙过程待整编数据
// GET /small/basin/reorganize/sedimentProgress/view/selectReorganizeData
// 接口ID：48402397
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48402397
export const smallbasinreorganizesedimentProgressviewselectReorganizeData = (
  query
) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentProgress/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

// 删除径流泥沙过程整编记录(包括对应明细)
// GET /small/basin/reorganize/sedimentProgress/remove/delRecord
// 接口ID：48405727
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48405727

export const smallbasinreorganizesedimentProgressremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentProgress/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询径流泥沙过程整编记录
// POST /small/basin/reorganize/sedimentProgress/view/pageRecord
// 接口ID：48405401
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48405401

export const smallbasinreorganizesedimentProgressviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentProgress/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 新增/修改径流泥沙过程整编记录
// POST /small/basin/reorganize/sedimentProgress/save/saveRecord
// 接口ID：48403354
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48403354
export const smallbasinreorganizesedimentProgresssavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentProgress/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 列表查询逐日平均含沙量整编明细
// GET /small/basin/reorganize/sandContent/view/listDetail
// 接口ID：48221259
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48221259

export const smallbasinreorganizesandContentviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sandContent/view/listDetail",
    method: "get",
    params: query,
  });
};

// 添加逐日平均含沙量整编明细
// POST /small/basin/reorganize/sandContent/save/addDetail
// 接口ID：48219716
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48219716
export const smallbasinreorganizesandContentsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sandContent/save/addDetail",
    method: "post",
    data: query,
  });
};

// 添加逐日产沙模数整编明细
// POST /small/basin/reorganize/sedimentYield/save/addDetail
// 接口ID：47882454
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47882454
export const smallbasinreorganizesedimentYieldsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentYield/save/addDetail",
    method: "post",
    data: query,
  });
};

// 列表查询逐日产沙模数整编明细
// GET /small/basin/reorganize/sedimentYield/view/listDetail
// 接口ID：47883316
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47883316
export const smallbasinreorganizesedimentYieldviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentYield/view/listDetail",
    method: "get",
    params: query,
  });
};

// 添加逐日平均流量整编明细
// POST /small/basin/reorganize/dailyFlow/save/addDetail
// 接口ID：47532264
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47532264

export const smallbasinreorganizedailyFlowsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/dailyFlow/save/addDetail",
    method: "post",
    data: query,
  });
};

// 列表查询逐日平均流量整编明细
// GET /small/basin/reorganize/dailyFlow/view/listDetail
// 接口ID：47533233
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47533233
export const smallbasinreorganizedailyFlowviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/dailyFlow/view/listDetail",
    method: "get",
    params: query,
  });
};

// 新增/修改流域基础信息整编记录
// POST /small/basin/reorganize/basicInfo/save/saveRecord
// 接口ID：47447146
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47447146

export const smallbasinreorganizebasicInfosavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/basicInfo/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 删除逐日平均含沙量整编记录(包括对应明细)
// GET /small/basin/reorganize/sandContent/remove/delRecord
// 接口ID：48221617
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48221617
export const smallbasinreorganizesandContentremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sandContent/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询逐日平均含沙量整编记录
// POST /small/basin/reorganize/sandContent/view/pageRecord
// 接口ID：48220394
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48220394
export const smallbasinreorganizesandContentviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sandContent/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 新增/修改逐日平均含沙量整编记录
// POST /small/basin/reorganize/sandContent/save/saveRecord
// 接口ID：48219380
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48219380
export const smallbasinreorganizesandContentsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sandContent/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 获取逐日平均含沙量待整编数据
// GET /small/basin/reorganize/sandContent/view/selectReorganizeData
// 接口ID：48219377
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-48219377
export const smallbasinreorganizesandContentviewselectReorganizeData = (
  query
) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sandContent/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

// 删除逐日产沙模数整编记录(包括对应明细)
// GET /small/basin/reorganize/sedimentYield/remove/delRecord
// 接口ID：47883809
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47883809

export const smallbasinreorganizesedimentYieldremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentYield/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询逐日产沙模数整编记录
// POST /small/basin/reorganize/sedimentYield/view/pageRecord
// 接口ID：47882768
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47882768
export const smallbasinreorganizesedimentYieldviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentYield/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 新增/修改逐日产沙模数整编记录
// POST /small/basin/reorganize/sedimentYield/save/saveRecord
// 接口ID：47881798
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47881798

export const smallbasinreorganizesedimentYieldsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentYield/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 获取逐日产沙模数待整编数据
// GET /small/basin/reorganize/sedimentYield/view/selectReorganizeData
// 接口ID：47881796
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47881796
export const smallbasinreorganizesedimentYieldviewselectReorganizeData = (
  query
) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/sedimentYield/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

// 获取逐日平均流量待整编数据
// GET /small/basin/reorganize/dailyFlow/view/selectReorganizeData
// 接口ID：47532140
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47532140
export const smallbasinreorganizedailyFlowviewselectReorganizeData = (
  query
) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/dailyFlow/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

// 删除逐日平均流量整编记录(包括对应明细)
// GET /small/basin/reorganize/dailyFlow/remove/delRecord
// 接口ID：47533374
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47533374
export const smallbasinreorganizedailyFlowremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/dailyFlow/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询逐日平均流量整编记录
// POST /small/basin/reorganize/dailyFlow/view/pageRecord
// 接口ID：47532323
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47532323
export const smallbasinreorganizedailyFlowviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/dailyFlow/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 新增/修改逐日平均流量整编记录
// POST /small/basin/reorganize/dailyFlow/save/saveRecord
// 接口ID：47532155
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47532155
export const smallbasinreorganizedailyFlowsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/dailyFlow/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 流域基础信息整编记录审批
// POST /small/basin/reorganize/basicInfo/edit/doApprove
// 接口ID：47448280
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47448280
export const smallbasinreorganizebasicInfoeditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/basicInfo/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回流域基础信息整编记录
// GET /small/basin/reorganize/basicInfo/edit/revokeRecord
// 接口ID：47448054
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47448054

export const smallbasinreorganizebasicInfoeditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/basicInfo/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 提交流域基础信息整编记录
// GET /small/basin/reorganize/basicInfo/edit/submitRecord
// 接口ID：47447755
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47447755

export const smallbasinreorganizebasicInfoeditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/basicInfo/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 删除流域基础信息整编记录
// GET /small/basin/reorganize/basicInfo/remove/delRecord
// 接口ID：47447555
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47447555
export const smallbasinreorganizebasicInforemovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/basicInfo/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询流域基础信息整编记录
// POST /small/basin/reorganize/basicInfo/view/pageRecord
// 接口ID：47447159
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-47447159
export const smallbasinreorganizebasicInfoviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/reorganize/basicInfo/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 列表查询土壤水分tdr法计算明细
// GET /small/basin/calculate/soilMoisture/view/listTdrDetail
// 接口ID：46958574
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46958574
export const smallbasincalculatesoilMoistureviewlistTdrDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/view/listTdrDetail",
    method: "get",
    params: query,
  });
};

// 批量删除逐日径流泥沙计算明细
// POST /small/basin/calculate/dailySediment/remove/delDetail
// 接口ID：46729322
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46729322
export const smallbasincalculatedailySedimentremovedelDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/dailySediment/remove/delDetail",
    method: "post",
    data: query,
  });
};

// 批量删除流域径流泥沙计算明细
// POST /small/basin/calculate/basinSediment/remove/delDetail
// 接口ID：46349630
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46349630
export const smallbasincalculatebasinSedimentremovedelDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/basinSediment/remove/delDetail",
    method: "post",
    data: query,
  });
};

// 水蚀调查记录审批
// POST /small/basin/record/waterErosion/edit/doApprove
// 接口ID：44428112
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44428112
export const smallbasinrecordwaterErosioneditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/waterErosion/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回水蚀调查记录
// GET /small/basin/record/waterErosion/edit/revokeRecord
// 接口ID：44427819
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44427819
export const smallbasinrecordwaterErosioneditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/waterErosion/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 增加日降雨明细
// POST /small/basin/record/rainfall/save/addDetail
// 接口ID：43407772
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43407772
export const smallbasinrecordrainfallsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: `/small/basin/record/rainfall/save/addDetail?headNo=${query[0].headNo}`,
    method: "post",
    data: query,
  });
};

// 批量删除日降雨明细
// POST /small/basin/record/rainfall/remove/delDetail
// 接口ID：43409448
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43409448
export const smallbasinrecordrainfallremovedelDetail = (query) => {
  return xiaoliuyu({
    url: `/small/basin/record/rainfall/remove/delDetail?headNo=${query.headNo}`,
    method: "post",
    data: query.data,
  });
};

// 批量删除土壤水分烘干法计算明细
// POST /small/basin/calculate/soilMoisture/remove/delDryDetail
// 接口ID：46960936
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46960936
export const smallbasincalculatesoilMoistureremovedelDryDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/remove/delDryDetail",
    method: "post",
    data: query,
  });
};

// 列表查询土壤水分烘干法计算明细
// GET /small/basin/calculate/soilMoisture/view/listDryDetail
// 接口ID：46959540
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46959540
export const smallbasincalculatesoilMoistureviewlistDryDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/view/listDryDetail",
    method: "get",
    params: query,
  });
};
// 增加土壤水分烘干法计算明细
// POST /small/basin/calculate/soilMoisture/save/addDryDetail
// 接口ID：46956717
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46956717
export const smallbasincalculatesoilMoisturesaveaddDryDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/save/addDryDetail",
    method: "post",
    data: query,
  });
};

// 查询土壤水分烘干法记录明细用于计算
// GET /small/basin/calculate/soilMoisture/view/selectDryRecord
// 接口ID：46955866
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46955866

export const smallbasincalculatesoilMoistureviewselectDryRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/view/selectDryRecord",
    method: "get",
    params: query,
  });
};

// 批量删除土壤水分tdr法计算明细
// POST /small/basin/calculate/soilMoisture/remove/delTdrDetail
// 接口ID：46960364
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46960364

export const smallbasincalculatesoilMoistureremovedelTdrDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/remove/delTdrDetail",
    method: "post",
    data: query,
  });
};

// 增加土壤水分tdr法计算明细
// POST /small/basin/calculate/soilMoisture/save/addTdrDetail
// 接口ID：46956276
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46956276
export const smallbasincalculatesoilMoisturesaveaddTdrDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/save/addTdrDetail",
    method: "post",
    data: query,
  });
};

// 查询土壤水分tdr法记录明细用于计算
// GET /small/basin/calculate/soilMoisture/view/selectTdrRecord
// 接口ID：46955862
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46955862
export const smallbasincalculatesoilMoistureviewselectTdrRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/view/selectTdrRecord",
    method: "get",
    params: query,
  });
};

// 土壤水分计算结果审批
// POST /small/basin/calculate/soilMoisture/edit/doApprove
// 接口ID：46961582
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46961582

export const smallbasincalculatesoilMoistureeditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回土壤水分计算结果
// GET /small/basin/calculate/soilMoisture/edit/revokeRecord
// 接口ID：46961538
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46961538
export const smallbasincalculatesoilMoistureeditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 提交土壤水分计算结果
// GET /small/basin/calculate/soilMoisture/edit/submitRecord
// 接口ID：46961249
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46961249
export const smallbasincalculatesoilMoistureeditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 删除土壤水分计算结果(包括对应明细)
// GET /small/basin/calculate/soilMoisture/remove/delRecord
// 接口ID：46960278
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46960278
export const smallbasincalculatesoilMoistureremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 新增/修改土壤水分计算结果
// POST /small/basin/calculate/soilMoisture/save/saveRecord
// 接口ID：46955967
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46955967
export const smallbasincalculatesoilMoisturesavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 分页查询土壤水分计算结果
// POST /small/basin/calculate/soilMoisture/view/pageRecord
// 接口ID：46956775
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46956775

export const smallbasincalculatesoilMoistureviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/soilMoisture/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 增加逐次洪水径流泥沙计算明细
// POST /small/basin/calculate/floodSediment/save/addDetail
// 接口ID：46786437
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46786437
export const smallbasincalculatefloodSedimentsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/floodSediment/save/addDetail",
    method: "post",
    data: query,
  });
};

// 查询待计算明细数据
// POST /small/basin/calculate/floodSediment/view/select2Calculate
// 接口ID：46786366
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46786366
export const smallbasincalculatefloodSedimentviewselect2Calculate = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/floodSediment/view/select2Calculate",
    method: "post",
    data: query,
  });
};

// 列表查询逐次洪水径流泥沙计算明细
// GET /small/basin/calculate/floodSediment//view/listDetail
// 接口ID：46786489
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46786489
export const smallbasincalculatefloodSedimentviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/floodSediment//view/listDetail",
    method: "get",
    params: query,
  });
};

// 逐次洪水径流泥沙计算结果审批
// POST /small/basin/calculate/floodSediment/edit/doApprove
// 接口ID：46787205
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46787205
export const smallbasincalculatefloodSedimenteditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/floodSediment/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回逐次洪水径流泥沙计算结果
// GET /small/basin/calculate/floodSediment/edit/revokeRecord
// 接口ID：46787194
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46787194
export const smallbasincalculatefloodSedimenteditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/floodSediment/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 提交逐次洪水径流泥沙计算结果
// GET /small/basin/calculate/floodSediment/edit/submitRecord
// 接口ID：46787158
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46787158
export const smallbasincalculatefloodSedimenteditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/floodSediment/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 删除逐次洪水径流泥沙计算结果(包括对应明细)
// GET /small/basin/calculate/floodSediment/remove/delRecord
// 接口ID：46786494
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46786494
export const smallbasincalculatefloodSedimentremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/floodSediment/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 新增/修改逐次洪水径流泥沙计算结果
// POST /small/basin/calculate/floodSediment/save/saveRecord
// 接口ID：46786402
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46786402
export const smallbasincalculatefloodSedimentsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/floodSediment/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 分页查询逐次洪水径流泥沙计算结果
// POST /small/basin/calculate/floodSediment/view/pageRecord
// 接口ID：46786486
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46786486
export const smallbasincalculatefloodSedimentviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/floodSediment/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 增加逐日径流泥沙计算明细
// POST /small/basin/calculate/dailySediment/save/addDetail
// 接口ID：46727567
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46727567
export const smallbasincalculatedailySedimentsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/dailySediment/save/addDetail",
    method: "post",
    data: query,
  });
};

// 查询流域径流泥沙计算明细用于计算
// POST /small/basin/calculate/dailySediment/view/select2Calculate
// 接口ID：46727001
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46727001
export const smallbasincalculatedailySedimentviewselect2Calculate = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/dailySediment/view/select2Calculate",
    method: "post",
    data: query,
  });
};

// 列表查询逐日径流泥沙计算明细
// GET /small/basin/calculate/dailySediment/view/listDetail
// 接口ID：46729031
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46729031
export const smallbasincalculatedailySedimentviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/dailySediment/view/listDetail",
    method: "get",
    params: query,
  });
};

// 逐日径流泥沙计算结果审批
// POST /small/basin/calculate/dailySediment/edit/doApprove
// 接口ID：46729446
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46729446
export const smallbasincalculatedailySedimenteditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/dailySediment/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回逐日径流泥沙计算结果
// GET /small/basin/calculate/dailySediment/edit/revokeRecord
// 接口ID：46729410
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46729410
export const smallbasincalculatedailySedimenteditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/dailySediment/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 提交逐日径流泥沙计算结果
// GET /small/basin/calculate/dailySediment/edit/submitRecord
// 接口ID：46729338
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46729338
export const smallbasincalculatedailySedimenteditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/dailySediment/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 删除逐日径流泥沙计算结果(包括对应明细)
// GET /small/basin/calculate/dailySediment/remove/delRecord
// 接口ID：46729098
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46729098
export const smallbasincalculatedailySedimentremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/dailySediment/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 新增/修改逐日径流泥沙计算结果
// POST /small/basin/calculate/dailySediment/save/saveRecord
// 接口ID：46727420
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46727420
export const smallbasincalculatedailySedimentsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/dailySediment/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 分页查询逐日径流泥沙计算结果
// POST /small/basin/calculate/dailySediment/view/pageRecord
// 接口ID：46728745
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46728745
export const smallbasincalculatedailySedimentviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/dailySediment/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 增加流域径流泥沙计算明细
// POST /small/basin/calculate/basinSediment/save/addDetail
// 接口ID：46349005
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46349005
export const smallbasincalculatebasinSedimentsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/basinSediment/save/addDetail",
    method: "post",
    data: query,
  });
};

// 查询泥沙采样记录用于计算
// POST /small/basin/calculate/basinSediment/view/select2Calculate
// 接口ID：46348675
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46348675
export const smallbasincalculatebasinSedimentviewselect2Calculate = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/basinSediment/view/select2Calculate",
    method: "post",
    data: query,
  });
};

// 列表查询流域径流泥沙计算明细
// GET /small/basin/calculate/basinSediment/view/listDetail
// 接口ID：46349395
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46349395

export const smallbasincalculatebasinSedimentviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/basinSediment/view/listDetail",
    method: "get",
    params: query,
  });
};

// 径流泥沙计算结果审批
// POST /small/basin/calculate/basinSediment/edit/doApprove
// 接口ID：46350460
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46350460
export const smallbasincalculatebasinSedimenteditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/basinSediment/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回流域径流泥沙计算结果
// GET /small/basin/calculate/basinSediment/edit/revokeRecord
// 接口ID：46350196
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46350196

export const smallbasincalculatebasinSedimenteditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/basinSediment/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 提交流域径流泥沙计算结果
// GET /small/basin/calculate/basinSediment/edit/submitRecord
// 接口ID：46349779
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46349779
export const smallbasincalculatebasinSedimenteditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/basinSediment/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 增加降雨过程计算明细
// POST /small/basin/calculate/rainfall/save/addDetail
// 接口ID：45215689
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-45215689
export const smallbasincalculaterainfallsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/rainfall/save/addDetail",
    method: "post",
    data: query,
  });
};

// 2.根据次降雨记录获取降雨过程数据
// POST /small/basin/calculate/rainfall/view/selectProRainfall
// 接口ID：45215687
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-45215687

export const smallbasincalculaterainfallviewselectProRainfall = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/rainfall/view/selectProRainfall",
    method: "post",
    data: query,
  });
};

// 1.获取次降雨数据
// POST /small/basin/calculate/rainfall/view/selectSeqRainfall
// 接口ID：45215686
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-45215686
export const smallbasincalculaterainfallviewselectSeqRainfall = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/rainfall/view/selectSeqRainfall",
    method: "post",
    data: query,
  });
};

// 分页查询流域径流泥沙计算结果
// POST /small/basin/calculate/basinSediment/view/pageRecord
// 接口ID：46349173
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46349173
export const smallbasincalculatebasinSedimentviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/basinSediment/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 删除流域径流泥沙计算结果(包括对应明细)
// GET /small/basin/calculate/basinSediment/remove/delRecord
// 接口ID：46349520
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46349520

export const smallbasincalculatebasinSedimentremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/basinSediment/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 新增/修改流域径流泥沙计算结果
// POST /small/basin/calculate/basinSediment/save/saveRecord
// 接口ID：46348897
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-46348897
export const smallbasincalculatebasinSedimentsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/basinSediment/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 分页查询降雨计算明细
// POST /small/basin/calculate/rainfall/view/pageDetail
// 接口ID：45215691
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-45215691
export const smallbasincalculaterainfallviewpageDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/rainfall/view/pageDetail",
    method: "post",
    data: query,
  });
};

// 降雨过程计算结果审批
// POST /small/basin/calculate/rainfall/edit/doApprove
// 接口ID：45215696
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-45215696

export const smallbasincalculaterainfalleditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/rainfall/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回降雨过程计算结果
// GET /small/basin/calculate/rainfall/edit/revokeRecord
// 接口ID：45215695
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-45215695

export const smallbasincalculaterainfalleditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/rainfall/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 提交降雨过程计算结果
// GET /soilWater/runoffField/calculate/rainfall/edit/submitRecord
// 接口ID：45215694
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-45215694

export const smallbasincalculaterainfalleditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/runoffField/calculate/rainfall/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 新增/修改降雨过程计算结果
// POST /small/basin/calculate/rainfall/save/saveRecord
// 接口ID：45215688
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-45215688
export const smallbasincalculaterainfallsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/rainfall/save/saveRecord",
    method: "post",
    data: query,
  });
};
// 删除降雨过程计算记录(包括对应明细)
// GET /small/basin/calculate/rainfall/remove/delRecord
// 接口ID：45215692
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-45215692
export const basincalculaterainfallremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/rainfall/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询降雨过程计算结果
// POST /small/basin/calculate/rainfall/view/pageRecord
// 接口ID：45215690
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-45215690

export const basincalculaterainfallviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/calculate/rainfall/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 批量删除流域土壤水分(烘干法)明细
// POST /small/basin/record/soilMoisture/remove/delDryDetail
// 接口ID：44627253
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44627253

export const recordsoilMoistureremovedelDryDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/remove/delDryDetail",
    method: "post",
    data: query.data,
    params: {
      headNo: query.headNo,
    },
  });
};

// 列表查询流域土壤水分(烘干法)明细
// GET /small/basin/record/soilMoisture/view/listDryDetail
// 接口ID：44626497
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44626497
export const recordsoilMoistureviewlistDryDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/view/listDryDetail",
    method: "get",
    params: query,
  });
};

// 新增流域土壤水分(tdr法)明细
// POST /small/basin/record/soilMoisture/save/addTdrDetail
// 接口ID：44624407
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44624407
export const recordsoilMoisturesaveaddTdrDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/save/addTdrDetail",
    method: "post",
    data: query,
    params: {
      headNo: query[0].headNo,
    },
  });
};

// 批量删除流域土壤水分(tdr法)明细
// POST /small/basin/record/soilMoisture/remove/delTdrDetail
// 接口ID：44627180
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44627180

export const soilMoistureremovedelTdrDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/remove/delTdrDetail",
    method: "post",
    data: query.data,
    params: {
      headNo: query.headNo,
    },
  });
};

// 列表查询流域土壤水分(tdr法)明细
// GET /small/basin/record/soilMoisture/view/listTdrDetail
// 接口ID：44625349
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44625349

export const recordsoilMoistureviewlistTdrDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/view/listTdrDetail",
    method: "get",
    params: query,
  });
};

// 增加水蚀调查明细
// POST /small/basin/record/waterErosion/save/addDetail
// 接口ID：44426961
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44426961

export const recordwaterErosionsaveaddDetail = (query) => {
  console.log(query);
  return xiaoliuyu({
    url: "/small/basin/record/waterErosion/save/addDetail",
    method: "post",
    data: query,
    params: {
      headNo: query[0].headNo,
    },
  });
};

// 流域土壤水分记录审批
// POST /small/basin/record/soilMoisture/edit/doApprove
// 接口ID：44628155
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44628155

export const recordsoilMoistureeditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回流域土壤水分记录
// GET /small/basin/record/soilMoisture/edit/revokeRecord
// 接口ID：44627286
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44627286
export const recordsoilMoistureeditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 提交流域土壤水分记录
// GET /small/basin/record/soilMoisture/edit/submitRecord
// 接口ID：44627280
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44627280

export const recordsoilMoistureeditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 删除流域土壤水分记录(包括对应明细)
// GET /small/basin/record/soilMoisture/remove/delRecord
// 接口ID：44627144
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44627144

export const recordsoilMoistureremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询流域土壤水分记录
// POST /small/basin/record/soilMoisture/view/pageRecord
// 接口ID：44624479
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44624479

export const recordsoilMoistureviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 新增/修改流域土壤水分记录
// POST /small/basin/record/soilMoisture/save/saveRecord
// 接口ID：44624365
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44624365
export const recordsoilMoisturesavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 批量删除水蚀调查明细
// POST /small/basin/record/waterErosion/remove/delDetail
// 接口ID：44427682
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44427682
export const recordwaterErosionremovedelDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/waterErosion/remove/delDetail",
    method: "post",
    data: query.data,
    params: {
      headNo: query.headNo,
    },
  });
};

// 列表查询水蚀调查明细
// GET /small/basin/record/waterErosion/view/listDetail
// 接口ID：44427548
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44427548
export const recordwaterErosionviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/waterErosion/view/listDetail",
    method: "get",
    params: query,
  });
};

// 增加流域径流泥沙明细
// POST /small/basin/record/sediment/save/addDetail
// 接口ID：44059584
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44059584

export const basinrecordsedimentsaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/sediment/save/addDetail",
    method: "post",
    data: query,
    params: {
      headNo: query[0].headNo,
    },
  });
};

// 新增流域土壤水分(烘干法)明细
//   POST /small/basin/record/soilMoisture/save/addDryDetail
//   接口ID：44624438
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-44624438
export const smallbasinrecordsoilMoisturesaveaddDryDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/soilMoisture/save/addDryDetail",
    method: "post",
    data: query,
    params: {
      headNo: query[0].headNo,
    },
  });
};

// 批量删除流域径流泥沙明细
// POST /small/basin/record/sediment/remove/delDetail
// 接口ID：44064474
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44064474

export const recordsedimentremovedelDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/sediment/remove/delDetail",
    method: "post",
    data: query.data,
    params: {
      headNo: query.headNo,
    },
  });
};

// 列表查询流域径流泥沙明细
// GET /small/basin/record/sediment/view/listDetail
// 接口ID：44063221
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44063221

export const recordsedimentviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/sediment/view/listDetail",
    method: "get",
    params: query,
  });
};

// 提交水蚀调查记录
// GET /small/basin/record/waterErosion/edit/submitRecord
// 接口ID：44427751
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44427751

export const recordwaterErosioneditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/waterErosion/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 删除水蚀调查记录(包括对应明细)
// GET /small/basin/record/waterErosion/remove/delRecord
// 接口ID：44427628
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44427628
export const basinrecordwaterErosionremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/waterErosion/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 新增/修改水蚀调查记录
// POST /small/basin/record/waterErosion/save/saveRecord
// 接口ID：44426830
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44426830

export const recordwaterErosionsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/waterErosion/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 分页查询水蚀调查记录
// POST /small/basin/record/waterErosion/view/pageRecord
// 接口ID：44427336
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44427336

export const recordwaterErosionviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/waterErosion/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 流域径流泥沙记录审批
// POST /small/basin/record/sediment/edit/doApprove
// 接口ID：44066150
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44066150

export const basinrecordsedimenteditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/sediment/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回流域径流泥沙记录
// GET /small/basin/record/sediment/edit/revokeRecord
// 接口ID：44065651
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44065651

export const recordsedimenteditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/sediment/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 提交流域径流泥沙记录
// GET /small/basin/record/sediment/edit/submitRecord
// 接口ID：44064968
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44064968
export const recordsedimenteditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/sediment/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 删除流域径流泥沙记录(包括对应明细)
// GET /small/basin/record/sediment/remove/delRecord
// 接口ID：44063297
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44063297

export const basinrecordsedimentremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/sediment/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询流域径流泥沙记录
// POST /small/basin/record/sediment/view/pageRecord
// 接口ID：44061225
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44061225

export const basinrecordsedimentviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/sediment/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 新增/修改流域径流泥沙记录
// POST /small/basin/record/sediment/save/saveRecord
// 接口ID：44059160
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-44059160

export const recordsedimentsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/sediment/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 列表查询日常检查维护明细
// GET /small/basin/record/dailyCheck/view/listDetail
// 接口ID：43744286
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43744286
export const basinrecorddailyCheckviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/dailyCheck/view/listDetail",
    method: "get",
    params: query,
  });
};

// excel导入日常检查维护明细
// POST /small/basin/record/dailyCheck/import/importRecordDetail
// 接口ID：43745687
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43745687

export const basinrecorddailyCheckimportimportRecordDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/dailyCheck/import/importRecordDetail",
    method: "post",
    data: query,
  });
};

// 日常检查维护记录审批
// POST /small/basin/record/dailyCheck/edit/doApprove
// 接口ID：43745020
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43745020

export const basinrecorddailyCheckeditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/dailyCheck/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回日常检查维护记录
// GET /small/basin/record/dailyCheck/edit/revokeRecord
// 接口ID：43744862
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43744862
export const basinrecorddailyCheckeditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/dailyCheck/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 提交日常检查维护记录
// GET /small/basin/record/dailyCheck/edit/submitRecord
// 接口ID：43744624
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43744624
export const basinrecorddailyCheckeditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/dailyCheck/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 删除日常检查维护记录(包括对应明细)
// GET /small/basin/record/dailyCheck/remove/delRecord
// 接口ID：43744382
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43744382

export const basinrecorddailyCheckremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/dailyCheck/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询日常检查维护记录
// POST /small/basin/record/dailyCheck/view/pageRecord
// 接口ID：43743916
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43743916
export const basinrecorddailyCheckviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/dailyCheck/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 新增/修改日常检查维护记录
// POST /small/basin/record/dailyCheck/save/saveRecord
// 接口ID：43743125
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43743125
export const basinrecorddailyChecksavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/dailyCheck/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 列表查询日降雨明细
// GET /small/basin/record/rainfall/view/listDetail
// 接口ID：43409267
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43409267

export const basinrecordrainfallviewlistDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/rainfall/view/listDetail",
    method: "get",
    params: query,
  });
};

// excel导入日降雨明细
// POST /small/basin/record/rainfall/import/importRecordDetail
// 接口ID：43410436
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43410436

export const recordrainfallimportimportRecordDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/rainfall/import/importRecordDetail",
    method: "post",
    data: query,
  });
};

// 日降雨记录审批
// POST /small/basin/record/rainfall/edit/doApprove
// 接口ID：43409884
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43409884

export const basinrecordrainfalleditdoApprove = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/rainfall/edit/doApprove",
    method: "post",
    data: query,
  });
};

// 撤回日降雨记录
// GET /small/basin/record/rainfall/edit/revokeRecord
// 接口ID：43409584
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43409584

export const basinrecordrainfalleditrevokeRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/rainfall/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

// 提交日降雨记录
// GET /small/basin/record/rainfall/edit/submitRecord
// 接口ID：43409521
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43409521

export const basinrecordrainfalleditsubmitRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/rainfall/edit/submitRecord",
    method: "get",
    params: query,
  });
};

// 增加日常检查维护明细
//   POST /small/basin/record/dailyCheck/save/addDetail
//   接口ID：43743535
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-43743535
export const smallbasinrecorddailyChecksaveaddDetail = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/dailyCheck/save/addDetail",
    method: "post",
    data: query,
    params: {
      headNo: query[0].headNo,
    },
  });
};

// 删除日降雨记录(包括对应明细)
// GET /small/basin/record/rainfall/remove/delRecord
// 接口ID：43409377
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43409377

export const basinrecordrainfallremovedelRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/rainfall/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 分页查询日降雨记录
// POST /small/basin/record/rainfall/view/pageRecord
// 接口ID：43408766
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43408766
export const basinrecordrainfallviewpageRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/rainfall/view/pageRecord",
    method: "post",
    data: query,
  });
};

// 新增/修改日降雨记录
// POST /small/basin/record/rainfall/save/saveRecord
// 接口ID：43407152
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43407152

export const basinrecordrainfallsavesaveRecord = (query) => {
  return xiaoliuyu({
    url: "/small/basin/record/rainfall/save/saveRecord",
    method: "post",
    data: query,
  });
};

// 导出径流泥沙计算表
// GET /soilWater/runoffField/calculate/sediment/export/exportData
// 接口ID：43293822
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-43293822
export const calculatesedimentexportexportData = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/export/exportData",
    method: "post",
    data: query,
  });
};

// 根据测站以及小区号批量获取集流设备(新)
// GET /soilWater/runoffField/collect/device/view/listCollectDevice
// 接口ID：30484828
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-30484828

export const collectdeviceviewlistCollectDevice = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/collect/device/view/listCollectDevice",
    method: "post",
    data: query,
  });
};

//查询日降雨数据，预生成日降雨记录明细(新)
//GET :{{P8802}}/soilWater/runoffField/rainRecord/view/select2Record
export const reportrainRecordviewselect2Record = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/rainRecord/view/select2Record",
    method: "get",
    params: query,
  });
};

//列表查询测站小区(新)
//GET /soilWater/runoffField/areaInfo/view/listStationArea
export const reportareaInfoviewlistStationArea = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/areaInfo/view/listStationArea",
    method: "get",
    params: query,
  });
};

//0702-查询审批记录
//GET /soilWater/runoffField/approve/view/listApproveRecord
///soil/water/sys/approve/view/listApproveRecord
export const reportapproveviewlistApproveRecord = (query) => {
  return rijiangyu({
    url: "/soil/water/sys/approve/view/listApproveRecord",
    method: "get",
    params: query,
  });
};

//批量删除烘干法明细
//POST /soilWater/runoffField/coverage/remove/delCoverageDryDetail
export const coverageremovedelCoverageDryDetail = (query) => {
  return rijiangyu({
    url: `/soilWater/runoffField/record/coverage/remove/delCoverageDryDetail?headNo=${query.headNo}`,
    method: "post",
    data: query.detailNo,
  });
};

//添加逐日降雨量整编明细
//POST /soilWater/runoffField/reorganize/rainfall/save/addDetail
export const reorganizerainfallsaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/rainfall/save/addDetail",
    method: "post",
    data: query,
  });
};

//导出对应径流小区基础信息整编明细
//GET /soilWater/runoffField/reorganize/runoffArea/export/exportReorganizeData
export const reorganizerunoffAreaexportexportReorganizeData = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/runoffArea/export/exportReorganizeData",
    method: "post",
    data: query,
  });
};

//批量删除田间管理整编明细
//POST /soilWater/runoffField/reorganize/field/remove/delDetail
export const reorganizefieldremovedelDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/field/remove/delDetail",
    method: "post",
    data: query,
  });
};

//添加田间管理整编明细
//POST /soilWater/runoffField/reorganize/field/save/addDetail
export const reorganizefieldsaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/field/save/addDetail",
    method: "post",
    data: query,
  });
};

export const reorganizeprogressviewgetYearRainfallProgress = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/progress/view/getYearRainfallProgress",
    method: "get",
    params: query,
  });
};

//批量删除土壤含水量和植被盖度整编明细
//POST /soilWater/runoffField/reorganize/coverage/remove/delDetail
export const reorganizecoverageremovedelDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/coverage/remove/delDetail",
    method: "post",
    data: query,
  });
};

//列表查询土壤含水量和植被盖度整编明细
//GET /soilWater/runoffField/reorganize/coverage/view/listDetail
export const reorganizecoverageviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/coverage/view/listDetail",
    method: "get",
    params: query,
  });
};

//添加土壤含水量和植被盖度整编明细
//POST /soilWater/runoffField/reorganize/coverage/save/addDetail
export const reorganizecoveragesaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/coverage/save/addDetail",
    method: "post",
    data: query,
  });
};

//获取待整编数据
//GET /soilWater/runoffField/reorganize/coverage/view/selectReorganizeData
export const reorganizecoverageviewselectReorganizeData = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/coverage/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

//删除土壤含水量和植被盖度整编记录(包括对应明细)
//GET /soilWater/runoffField/reorganize/coverage/remove/delRecord
export const reorganizecoverageremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/coverage/remove/delRecord",
    method: "get",
    params: query,
  });
};

//分页查询土壤含水量和植被盖度整编记录
//POST /soilWater/runoffField/reorganize/coverage/view/pageRecord
export const reorganizecoverageviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/coverage/view/pageRecord",
    method: "post",
    data: query,
  });
};

//新增/修改土壤含水量和植被盖度整编记录
//POST /soilWater/runoffField/reorganize/coverage/save/saveRecord
export const reorganizecoveragesavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/coverage/save/saveRecord",
    method: "post",
    data: query,
  });
};

//批量删除径流小区基础信息整编明细
//POST /soilWater/runoffField/reorganize/runoffArea/remove/delDetail
export const reorganizerunoffArearemovedelDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/runoffArea/remove/delDetail",
    method: "post",
    data: query,
  });
};

//添加径流小区基础信息整编明细
//GET /soilWater/runoffField/reorganize/runoffArea/save/addDetail
export const reorganizerunoffAreasaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/runoffArea/save/addDetail",
    method: "post",
    data: query,
  });
};

//获取待整编数据
//GET /soilWater/runoffField/reorganize/yearSediment/view/selectReorganizeData
export const reorganizeyearSedimentviewselectReorganizeData = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/yearSediment/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

//添加逐年径流泥沙整编明细
//POST /soilWater/runoffField/reorganize/yearSediment/save/addDetail
export const reorganizeyearSedimentsaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/yearSediment/save/addDetail",
    method: "post",
    data: query,
  });
};

//批量删除逐年径流泥沙整编明细
//POST /soilWater/runoffField/reorganize/yearSediment/remove/delDetail
export const reorganizeyearSedimentremovedelDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/yearSediment/remove/delDetail",
    method: "post",
    data: query,
  });
};

//列表查询逐年径流泥沙整编明细
//GET /soilWater/runoffField/reorganize/yearSediment/view/listDetail
export const reorganizeyearSedimentviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/yearSediment/view/listDetail",
    method: "get",
    params: query,
  });
};

//新增/修改逐年径流泥沙整编记录
//POST /soilWater/runoffField/reorganize/yearSediment/save/saveRecord
export const reorganizeyearSedimentsavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/yearSediment/save/saveRecord",
    method: "post",
    data: query,
  });
};

//删除逐年径流泥沙整编记录(包括对应明细)
//GET /soilWater/runoffField/reorganize/yearSediment/remove/delRecord
export const reorganizeyearSedimentremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/yearSediment/remove/delRecord",
    method: "get",
    params: query,
  });
};

//分页查询逐年径流泥沙整编记录
//POST /soilWater/runoffField/reorganize/yearSediment/view/pageRecord
export const reorganizeyearSedimentviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/yearSediment/view/pageRecord",
    method: "post",
    data: query,
  });
};

//批量删除逐次径流泥沙整编明细
//POST /soilWater/runoffField/reorganize/seqSediment/remove/delDetail
export const reorganizeseqSedimentremovedelDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/seqSediment/remove/delDetail",
    method: "post",
    data: query,
  });
};

//获取待整编数据报表
//GET /soilWater/runoffField/reorganize/seqSediment/view/selectReorganizeData
export const reorganizeseqSedimentviewselectReorganizeData = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/seqSediment/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

//列表查询逐次径流泥沙整编明细
//GET /soilWater/runoffField/reorganize/seqSediment/view/listDetail
export const reorganizeseqSedimentviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/seqSediment/view/listDetail",
    method: "get",
    params: query,
  });
};

//添加逐次径流泥沙整编明细
//POST /soilWater/runoffField/reorganize/seqSediment/save/addDetail
export const reorganizeseqSedimentsaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/seqSediment/save/addDetail",
    method: "post",
    data: query,
  });
};

//新增/修改逐次径流泥沙整编记录
//POST /soilWater/runoffField/reorganize/seqSediment/save/saveRecord
export const reorganizeseqSedimentsavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/seqSediment/save/saveRecord",
    method: "post",
    data: query,
  });
};

//删除逐次径流泥沙整编记录(包括对应明细)
//GET /soilWater/runoffField/reorganize/seqSediment/remove/delRecord
export const reorganizeseqSedimentremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/seqSediment/remove/delRecord",
    method: "get",
    params: query,
  });
};

//分页查询逐次径流泥沙整编记录
//POST /soilWater/runoffField/reorganize/seqSediment/view/pageRecord
export const reorganizeseqSedimentviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/seqSediment/view/pageRecord",
    method: "post",
    data: query,
  });
};

//添加林地整编明细
//POST /soilWater/runoffField/reorganize/land/save/addWoodland
export const reorganizelandsaveaddWoodland = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/save/addWoodland",
    method: "post",
    data: query,
  });
};

//批量删除林地整编明细
//POST /soilWater/runoffField/reorganize/land/remove/delWoodland
export const reorganizelandremovedelWoodland = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/remove/delWoodland",
    method: "post",
    data: query,
  });
};

//列表查询林地整编明细
//GET /soilWater/runoffField/reorganize/land/view/listWoodland
export const reorganizelandviewlistWoodland = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/view/listWoodland",
    method: "get",
    params: query,
  });
};

//批量删除灌草地整编明细
//POST /soilWater/runoffField/reorganize/land/remove/delShrubland
export const reorganizelandremovedelShrubland = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/remove/delShrubland",
    method: "post",
    data: query,
  });
};

//列表查询灌草地整编明细
//GET /soilWater/runoffField/reorganize/land/view/listShrubland
export const reorganizelandviewlistShrubland = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/view/listShrubland",
    method: "get",
    params: query,
  });
};

//添加灌草地整编明细
//POST /soilWater/runoffField/reorganize/land/save/addShrubland
export const reorganizelandsaveaddShrubland = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/save/addShrubland",
    method: "post",
    data: query,
  });
};

//批量删除农地整编明细
//POST /soilWater/runoffField/reorganize/land/remove/delFarmland
export const reorganizelandremovedelFarmland = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/remove/delFarmland",
    method: "post",
    data: query,
  });
};

//3.获取降雨数据用于计算(新)
//POST :{{P8802}}/soilWater/runoffField/calculate/rainfall/view/listRainfall2Calculate
export const calculaterainfallviewlistRainfall2Calculate = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/view/listRainfall2Calculate",
    method: "post",
    data: query,
  });
};

//新增/修改田间管理整编记录
//POST /soilWater/runoffField/reorganize/field/save/saveRecord
export const reorganizefieldsavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/field/save/saveRecord",
    method: "post",
    data: query,
  });
};

//添加农地整编明细
//POST /soilWater/runoffField/reorganize/land/save/addFarmland
export const reorganizelandsaveaddFarmland = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/save/addFarmland",
    method: "post",
    data: query,
  });
};

//列表查询农地整编明细
//GET /soilWater/runoffField/reorganize/land/view/listFarmland
export const reorganizelandviewlistFarmland = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/view/listFarmland",
    method: "get",
    params: query,
  });
};

// 删除土壤含水量和植被盖度整编记录(包括对应明细)
//   GET /soilWater/runoffField/reorganize/coverage/remove/delRecord
//   接口ID：33864778
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-33864778
export const soilWaterrunoffFieldreorganizecoverageremovedelRecord = (
  query
) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/coverage/remove/delRecord",
    method: "get",
    params: query,
  });
};

//删除土地整编记录(包括对应明细)

//GET /soilWater/runoffField/reorganize/land/save/remove/delRecord
export const reorganizelandsaveremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/save/remove/delRecord",
    method: "get",
    params: query,
  });
};

//新增/修改土地基础信息整编记录
//POST /soilWater/runoffField/reorganize/land/save/saveRecord
export const reorganizelandsavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/save/saveRecord",
    method: "post",
    data: query,
  });
};

//分页查询土地基础信息整编记录
//POST /soilWater/runoffField/reorganize/land/view/pageRecord
export const reorganizelandviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/land/view/pageRecord",
    method: "post",
    data: query,
  });
};

//获取降雨整编明细
//GET /soilWater/runoffField/reorganize/rainfall/view/selectReorganizeData
export const reorganizerainfallviewselectReorganizeData = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/rainfall/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

//列表查询逐日降雨量整编明细
//GET /soilWater/runoffField/reorganize/rainfall/view/listDetail
export const reorganizerainfallviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/rainfall/view/listDetail",
    method: "get",
    params: query,
  });
};

//新增/修改逐日降雨量整编记录
//POST /soilWater/runoffField/reorganize/rainfall/save/saveRecord
export const reorganizerainfallsavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/rainfall/save/saveRecord",
    method: "post",
    data: query,
  });
};

//删除逐日降雨量整编记录(包括对应明细)
//GET /soilWater/runoffField/reorganize/rainfall/remove/delRecord
export const reorganizerainfallremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/rainfall/remove/delRecord",
    method: "get",
    params: query,
  });
};

//分页查询逐日降雨量整编记录
//POST /soilWater/runoffField/reorganize/rainfall/view/pageRecord
export const reorganizerainfallviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/rainfall/view/pageRecord",
    method: "post",
    data: query,
  });
};

//获取田间管理记录明细
//GET /soilWater/runoffField/reorganize/field/view/selectReorganizeData
export const reorganizefieldviewselectReorganizeData = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/field/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

//列表查询田间管理整编明细
//GET /soilWater/runoffField/reorganize/field/view/listDetail
export const reorganizefieldviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/field/view/listDetail",
    method: "get",
    params: query,
  });
};

//删除田间管理整编记录(包括对应明细)
//GET /soilWater/runoffField/reorganize/field/remove/delRecord
export const reorganizefieldremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/field/remove/delRecord",
    method: "get",
    params: query,
  });
};

//分页查询田间管理整编记录
//POST /soilWater/runoffField/reorganize/field/view/pageRecord
export const reorganizefieldviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/field/view/pageRecord",
    method: "post",
    data: query,
  });
};

//获取整编数据
//GET /soilWater/runoffField/reorganize/runoffArea/view/selectReorganizeData
export const reorganizerunoffAreaviewselectReorganizeData = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/runoffArea/view/selectReorganizeData",
    method: "get",
    params: query,
  });
};

//列表查询径流小区基础信息整编明细
//GET /soilWater/runoffField/reorganize/runoffArea/view/listDetail
export const reorganizerunoffAreaviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/runoffArea/view/listDetail",
    method: "get",
    params: query,
  });
};

//批量删除土壤水分烘干法计算明细
//POST /soilWater/runoffField/calculate/soilMoisture/remove/delDryDetail
export const calculatesoilMoistureremovedelDryDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/remove/delDryDetail",
    method: "post",
    data: query,
  });
};

// 新增烘干法明细
// POST /soilWater/runoffField/record/coverage/save/addCoverageDryDetail
// 接口ID：26410509
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-26410509
export const reportcoveragesaveaddCoverageDryDetail = (query) => {
  return rijiangyu({
    url: `/soilWater/runoffField/record/coverage/save/addCoverageDryDetail?headNo=${query[0].headNo}`,
    method: "post",
    data: query,
  });
};

//列表查询烘干法明细
//GET /soilWater/runoffField/record/coverage/view/listCoverageDryDetail
export const reportcoverageviewlistCoverageDryDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/coverage/view/listCoverageDryDetail",
    method: "get",
    params: query,
  });
};

//删除径流小区基础信息整编记录(包括对应明细)
//GET /soilWater/runoffField/reorganize/runoffArea/remove/delRecord
export const reorganizerunoffArearemovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/runoffArea/remove/delRecord",
    method: "get",
    params: query,
  });
};

//新增/修改径流小区基础信息整编记录
//POST /soilWater/runoffField/reorganize/runoffArea/save/saveRecord
export const reorganizerunoffAreasavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/runoffArea/save/saveRecord",
    method: "post",
    data: query,
  });
};

//分页查询径流小区基础信息整编记录
//POST /soilWater/runoffField/reorganize/runoffArea/view/pageRecord
export const reorganizerunoffAreaviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/reorganize/runoffArea/view/pageRecord",
    method: "post",
    data: query,
  });
};

//删除径流小区基础信息
//GET /soilWater/runoffField/areaInfo/remove/delAreaInfo
export const reportareaInforemovedelAreaInfo = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/areaInfo/remove/delAreaInfo",
    method: "get",
    params: query,
  });
};

//新增/修改径流小区基础信息
//POST /soilWater/runoffField/areaInfo/save/saveAreaInfo
export const waterreportareaInfosavesaveAreaInfo = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/areaInfo/save/saveAreaInfo",
    method: "post",
    data: query,
  });
};

//分页查询径流小区基础信息
//POST /soilWater/runoffField/areaInfo/view/pageAreaInfo
export const waterreportareaInfoviewpageAreaInfo = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/areaInfo/view/pageAreaInfo",
    method: "post",
    data: query,
  });
};

//批量删除作物测产计算明细
//POST /soilWater/runoffField/calculate/cropYield/remove/delDetail
export const calculatecropYieldremovedelDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/cropYield/remove/delDetail",
    method: "post",
    data: query,
  });
};

///批量删除土壤水分tdr法计算明细
//POST /soilWater/runoffField/calculate/soilMoisture/remove/delTdrDetail
export const calculatesoilMoistureremovedelTdrDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/remove/delTdrDetail",
    method: "post",
    data: query,
  });
};

//筛选土壤水分烘干法记录明细
//GET /soilWater/runoffField/calculate/soilMoisture/view/selectDryRecord
export const calculatesoilMoistureviewselectDryRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/view/selectDryRecord",
    method: "get",
    params: query,
  });
};

//筛选土壤水分tdr法记录明细
//GET /soilWater/runoffField/calculate/soilMoisture/view/selectTdrRecord
export const calculatesoilMoistureviewselectTdrRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/view/selectTdrRecord",
    method: "get",
    params: query,
  });
};

//列表查询土壤水分烘干法计算明细
//GET /soilWater/runoffField/calculate/soilMoisture/view/listDryDetail
export const calculatesoilMoistureviewlistDryDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/view/listDryDetail",
    method: "get",
    params: query,
  });
};

//增加土壤水分烘干法计算明细
//POST /soilWater/runoffField/calculate/soilMoisture/save/addDryDetail

export const calculatesoilMoisturesaveaddDryDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/save/addDryDetail",
    method: "post",
    data: query,
  });
};

//批量删除作物测产明细
//POST /soilWater/runoffField/cropYield/remove/delDetail
export const reportcropYieldremovedelDetail = (query) => {
  return rijiangyu({
    url: `/soilWater/runoffField/record/cropYield/remove/delDetail?headNo=${query.headNo}`,
    method: "post",
    data: query.detailNo,
  });
};

// 分页查询集流设备
// POST /soilWater/runoffField/collect/device/view/pageDeviceInfo
// 接口ID：23765465
// 接口地址：https://www.apifox.cn/web/project/945884/apis/api-23765465

//增加作物测产计算明细
//POST /soilWater/runoffField/calculate/cropYield/save/addDetail
export const calculatecropYieldsaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/cropYield/save/addDetail",
    method: "post",
    data: query,
  });
};

//作物测产记录审批
//POST /soilWater/runoffField/record/cropYield/edit/doApprove
export const reportcropYieldeditdoApprove = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/cropYield/edit/doApprove",
    method: "post",
    data: query,
  });
};

//撤回作物测产记录
//GET /soilWater/runoffField/record/cropYield/edit/revokeRecord
export const reportcropYieldeditrevokeRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/cropYield/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

//提交作物测产记录
//GET /soilWater/runoffField/record/cropYield/edit/submitRecord
export const reportcropYieldeditsubmitRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/cropYield/edit/submitRecord",
    method: "get",
    params: query,
  });
};

//删除作物测产记录(包括对应明细)
//GET /soilWater/runoffField/record/cropYield/remove/delRecord
export const reportcropYieldremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/cropYield/remove/delRecord",
    method: "get",
    params: query,
  });
};

// 批量删除郁闭度计算明细
//   POST /soilWater/runoffField/calculate/coverage/remove/delDetail
//   接口ID：30086783
//   接口地址：https://www.apifox.cn/link/project/945884/apis/api-30086783
export const soilWaterrunoffFieldcalculatecoverageremovedelDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/coverage/remove/delDetail",
    method: "post",
    data: query,
  });
};

//增加作物测产明细
//POST /soilWater/runoffField/record/cropYield/save/addDetail
export const reportcropYieldsaveaddDetail = (query) => {
  return rijiangyu({
    url: `/soilWater/runoffField/record/cropYield/save/addDetail?headNo=${query[0].headNo}`,
    method: "post",
    data: query,
  });
};

//列表查询作物测产明细
//GET /soilWater/runoffField/record/cropYield/view/listDetail
export const reportcropYieldviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/cropYield/view/listDetail",
    method: "get",
    params: query,
  });
};

//分页查询作物测产记录
//POST /soilWater/runoffField/record/cropYield/view/pageRecord
export const reportcropYieldviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/cropYield/view/pageRecord",
    method: "post",
    data: query,
  });
};

//新增/修改作物测产记录
//POST/soilWater/runoffField/record/cropYield/save/saveRecord
export const reportcropYieldsavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/cropYield/save/saveRecord",
    method: "post",
    data: query,
  });
};

//筛选作物测产记录用于计算
//GET /soilWater/runoffField/calculate/cropYield/view/selectCropYieldRecord
export const calculatecropYieldviewselectCropYieldRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/cropYield/view/selectCropYieldRecord",
    method: "get",
    params: query,
  });
};

//列表查询作物测产计算明细
//GET /soilWater/runoffField/calculate/cropYield/view/listDetail
export const calculatecropYieldviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/cropYield/view/listDetail",
    method: "get",
    params: query,
  });
};

//作物测产计算结果审批
//POST /soilWater/runoffField/calculate/cropYield/edit/doApprove
export const calculatecropYieldeditdoApprove = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/cropYield/edit/doApprove",
    method: "post",
    data: query,
  });
};

//撤回作物测产计算结果
//GET /soilWater/runoffField/calculate/cropYield/edit/revokeRecord
export const calculatecropYieldeditrevokeRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/cropYield/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

//提交作物测产计算结果
//GET /soilWater/runoffField/calculate/cropYield/edit/submitRecord
export const calculatecropYieldeditsubmitRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/cropYield/edit/submitRecord",
    method: "get",
    params: query,
  });
};

//删除作物测产计算结果(包括对应明细)
//GET /soilWater/runoffField/calculate/cropYield/remove/delRecord
export const calculatecropYieldremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/cropYield/remove/delRecord",
    method: "get",
    params: query,
  });
};

//新增/修改作物测产计算结果
//POST /soilWater/runoffField/calculate/cropYield/save/saveRecord
export const calculatecropYieldsavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/cropYield/save/saveRecord",
    method: "post",
    data: query,
  });
};

//分页查询作物测产计算结果
//POST /soilWater/runoffField/calculate/cropYield/view/pageRecord
export const calculatecropYieldviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/cropYield/view/pageRecord",
    method: "post",
    data: query,
  });
};

//增加土壤水分tdr法计算明细
//POST /soilWater/runoffField/calculate/soilMoisture/save/addTdrDetail
export const calculatesoilMoisturesaveaddTdrDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/save/addTdrDetail",
    method: "post",
    data: query,
    params: {
      headNo: query[0].headNo,
    },
  });
};

//列表查询土壤水分tdr法计算明细
//GET /soilWater/runoffField/calculate/soilMoisture/view/listTdrDetail
export const calculatesoilMoistureviewlistTdrDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/view/listTdrDetail",
    method: "get",
    params: query,
  });
};

//土壤水分计算结果审批
//POST /soilWater/runoffField/calculate/soilMoisture/edit/doApprove
export const calculatesoilMoistureeditdoApprove = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/edit/doApprove",
    method: "post",
    data: query,
  });
};

//撤回土壤水分计算结果
//GET /soilWater/runoffField/calculate/soilMoisture/edit/revokeRecord
export const calculatesoilMoistureeditrevokeRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

//提交土壤水分计算结果
//GET /soilWater/runoffField/calculate/soilMoisture/edit/submitRecord
export const calculatesoilMoistureeditsubmitRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/edit/submitRecord",
    method: "get",
    params: query,
  });
};

//删除土壤水分计算结果(包括对应明细)
//GET /soilWater/runoffField/calculate/soilMoisture/remove/delRecord
export const calculatesoilMoistureremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/remove/delRecord",
    method: "get",
    params: query,
  });
};

//新增/修改土壤水分计算结果
//POST /soilWater/runoffField/calculate/soilMoisture/save/saveRecord
export const calculatesoilMoisturesavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/save/saveRecord",
    method: "post",
    data: query,
  });
};

//分页查询土壤水分计算结果
//POST /soilWater/runoffField/calculate/soilMoisture/view/pageRecord
export const calculatesoilMoistureviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/soilMoisture/view/pageRecord",
    method: "post",
    data: query,
  });
};

//增加郁闭度计算明细
//POST /soilWater/runoffField/calculate/coverage/save/addDetail
export const calculatecoveragesaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/coverage/save/addDetail",
    method: "post",
    data: query,
  });
};

//列表查询郁闭度记录明细用于计算
//GET /soilWater/runoffField/calculate/coverage/view/listRecordDetail
export const calculatecoverageviewlistRecordDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/coverage/view/listRecordDetail",
    method: "get",
    params: query,
  });
};

//列表查询郁闭度计算明细
//GET /soilWater/runoffField/calculate/coverage/view/listDetail
export const calculatecoverageviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/coverage/view/listDetail",
    method: "get",
    params: query,
  });
};

//郁闭度计算结果审批
//POST /soilWater/runoffField/calculate/coverage/edit/doApprove
export const calculatecoverageeditdoApprove = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/coverage/edit/doApprove",
    method: "post",
    data: query,
  });
};

//撤回郁闭度计算结果
//GET /soilWater/runoffField/calculate/coverage/edit/revokeRecord
export const calculatecoverageeditrevokeRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/coverage/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

//提交郁闭度计算结果
//GET /soilWater/runoffField/calculate/coverage/edit/submitRecord
export const calculatecoverageeditsubmitRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/coverage/edit/submitRecord",
    method: "get",
    params: query,
  });
};

//删除郁闭度计算结果(包括对应明细)
//GET /soilWater/runoffField/calculate/coverage/remove/delRecord
export const calculatecoverageremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/coverage/remove/delRecord",
    method: "get",
    params: query,
  });
};

//分页查询郁闭度计算结果
//POST /soilWater/runoffField/calculate/coverage/view/pageRecord
export const calculatecoverageviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/coverage/view/pageRecord",
    method: "post",
    data: query,
  });
};

//新增/修改郁闭度计算结果
//POST /soilWater/runoffField/calculate/coverage/save/saveRecord
export const calculatecoveragesavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/coverage/save/saveRecord",
    method: "post",
    data: query,
  });
};

//增加径流泥沙计算明细
//POST /soilWater/runoffField/calculate/sediment/save/addDetail
export const calculatesedimentsaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/save/addDetail",
    method: "post",
    data: query,
  });
};

//0702-泥沙采样记录审批
//POST /soilWater/runoffField/record/sediment/edit/doApprove
export const waterreportsedimenteditdoApprove = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/sediment/edit/doApprove",
    method: "post",
    data: query,
  });
};

//查询泥沙采样记录用于计算
//POST /soilWater/runoffField/calculate/sediment/view/selectSedimentRecord

export const calculatesedimentviewselectSedimentRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/view/selectSedimentRecord",
    method: "post",
    data: query,
  });
};
//批量删除径流泥沙计算明细
//POST /soilWater/runoffField/calculate/sediment/remove/delDetail
export const calculatesedimentremovedelDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/remove/delDetail",
    method: "post",
    data: query,
  });
};

//列表查询径流泥沙计算明细
//GET /soilWater/runoffField/calculate/sediment/view/listDetail
export const calculatesedimentviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/view/listDetail",
    method: "get",
    params: query,
  });
};

//新增/修改径流泥沙计算结果
//POST /soilWater/runoffField/calculate/sediment/save/saveRecord
export const calculatesedimentsavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/save/saveRecord",
    method: "post",
    data: query,
  });
};

//径流泥沙计算结果审批
//POST /soilWater/runoffField/calculate/sediment/edit/doApprove
export const calculatesedimenteditdoApprove = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/edit/doApprove",
    method: "post",
    data: query,
  });
};

//撤回径流泥沙计算结果
//GET /soilWater/runoffField/calculate/sediment/edit/revokeRecord
export const calculatesedimenteditrevokeRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

//提交径流泥沙计算结果
//GET /soilWater/runoffField/calculate/sediment/edit/submitRecord
export const calculatesedimenteditsubmitRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/edit/submitRecord",
    method: "get",
    params: query,
  });
};

//删除径流泥沙计算结果(包括对应明细)
//GET /soilWater/runoffField/calculate/sediment/remove/delRecord
export const calculatesedimentremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/remove/delRecord",
    method: "get",
    params: query,
  });
};

//分页查询径流泥沙计算结果
//POST /soilWater/runoffField/calculate/sediment/view/pageRecord
export const calculatesedimentviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/view/pageRecord",
    method: "post",
    data: query,
  });
};

///////（新）批量添加自动化设备明细
// POST /soilWater/runoffField/calculate/sediment/save/addAutoDeviceDetail
// 接口ID：100870570
// 接口地址：https://app.apifox.com/link/project/945884/apis/api-100870570

export const soilWaterrunoffFieldcalculatesedimentsaveaddAutoDeviceDetail = (
  query
) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/sediment/save/addAutoDeviceDetail",
    method: "post",
    data: query,
  });
};

//增加降雨过程计算明细
//POST /soilWater/runoffField/calculate/rainfall/save/addDetail
export const calculaterainfallsaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/save/addDetail",
    method: "post",
    data: query,
  });
};

//批量删除降雨过程计算明细
//POST /soilWater/runoffField/calculate/rainfall/remove/delDetail
export const calculaterainfallremovedelDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/remove/delDetail",
    method: "post",
    data: query,
  });
};

//分页查询降雨计算明细
//POST /soilWater/runoffField/calculate/rainfall/view/pageDetail

export const calculaterainfallviewpageDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/view/pageDetail",
    method: "post",
    data: query,
  });
};

//2.根据次降雨记录获取降雨过程数据
//POST /soilWater/runoffField/calculate/rainfall/view/selectProRainfall
//2.根据次降雨记录获取降雨过程数据
//POST http://192.168.220.182:8802/soilWater/runoffField/calculate/rainfall/view/selectProRainfall

export const calculaterainfallviewselectProRainfall = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/view/selectProRainfall",
    method: "post",
    data: query,
  });
};

//1.获取次降雨数据
//POST /soilWater/runoffField/calculate/rainfall/view/selectSeqRainfall
export const calculaterainfallviewselectSeqRainfall = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/view/selectSeqRainfall",
    method: "post",
    data: query,
  });
};

//降雨过程计算结果审批
//POST /soilWater/runoffField/calculate/rainfall/edit/doApprove
export const calculaterainfalleditdoApprove = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/edit/doApprove",
    method: "post",
    data: query,
  });
};

//撤回降雨过程计算结果
//GET /soilWater/runoffField/calculate/rainfall/edit/revokeRecord
export const calculaterainfalleditrevokeRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

//提交降雨过程计算结果
//GET /soilWater/runoffField/calculate/rainfall/edit/submitRecord
export const calculaterainfalleditsubmitRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/edit/submitRecord",
    method: "get",
    params: query,
  });
};

//新增/修改降雨过程计算结果
//POST /soilWater/runoffField/calculate/rainfall/save/saveRecord
export const calculaterainfallsavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/save/saveRecord",
    method: "post",
    data: query,
  });
};

//删除降雨过程计算记录(包括对应明细)
//GET /soilWater/runoffField/calculate/rainfall/remove/delRecord
export const calculaterainfallremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/remove/delRecord",
    method: "get",
    params: query,
  });
};

//分页查询降雨过程计算结果
//POST /soilWater/runoffField/calculate/rainfall/view/pageRecord

export const calculaterainfallviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/calculate/rainfall/view/pageRecord",
    method: "post",
    data: query,
  });
};

//删除日降雨记录(包括对应明细)
//GET /soilWater/runoffField/record/rainRecord/remove/delRecord
//接口ID：27770086
//接口地址：https://www.apifox.cn/link/project/945884/apis/api-27770086
export const soilWaterrunoffFieldrecordrainRecordremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/rainRecord/remove/delRecord",
    method: "get",
    params: query,
  });
};

//提交日降雨记录
//GET /soilWater/runoffField/rainRecord/edit/submitRecord

//批量删除日降雨明细

//POST /soilWater/runoffField/rainRecord/remove/delDetail
export const reportrainRecordremovedelDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/rainRecord/remove/delDetail",
    method: "post",
    data: query.data,
    params: {
      headNo: query.headNo,
    },
  });
};
//增加日降雨明细
///soilWater/runoffField/record/rainRecord/save/saveRecord
//POST /soilWater/runoffField/rainRecord/save/addDetail
export const reportrainRecordsaveaddDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/rainRecord/save/addDetail",
    method: "post",
    data: query,
    params: {
      headNo: query[0].headNo,
    },
  });
};

//列表查询日降雨明细
//GET /soilWater/runoffField/rainRecord/view/listDetail
export const reportrainRecordviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/rainRecord/view/listDetail",
    method: "get",
    params: query,
  });
};
//日降雨记录审批
//POST /soilWater/runoffField/rainRecord/edit/doApprove
export const reportrainRecordeditdoApprove = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainRecord/edit/doApprove",
    method: "post",
    data: query,
  });
};

//撤回日降雨记录
//GET /soilWater/runoffField/rainRecord/edit/revokeRecord
export const reportrainRecordeditrevokeRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/rainRecord/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

//提交日降雨记录
//GET /soilWater/runoffField/rainRecord/edit/submitRecord
export const reportrainRecordeditsubmitRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/rainRecord/edit/submitRecord",
    method: "get",
    params: query,
  });
};

//删除日降雨记录(包括对应明细)
//GET /soilWater/runoffField/rainRecord/remove/delRecord
export const reportrainRecordremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainRecord/remove/delRecord",
    method: "get",
    params: query,
  });
};

//新增/修改日降雨记录
//POST /soilWater/runoffField/rainRecord/save/saveRecord
export const reportrainRecordsavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/rainRecord/save/saveRecord",
    method: "post",
    data: query,
  });
};

//分页查询日降雨记录
//POST /soilWater/runoffField/rainRecord/view/pageRecord
//批量删除田间管理明细
//POST /soilWater/runoffField/record/rainRecord/view/pageRecord
export const waterreportrainRecordviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/rainRecord/view/pageRecord",
    method: "post",
    data: query,
  });
};

//批量删除田间管理明细
//POST /soilWater/runoffField/fieldManage/remove/delDetail
export const reportfieldManageremovedelDetail = (query) => {
  return rijiangyu({
    url: `/soilWater/runoffField/record/fieldManage/remove/delDetail?headNo=${query.headNo}`,
    method: "post",
    data: query.detailNo,
  });
};

//增加田间管理明细
//POST /soilWater/runoffField/record/fieldManage/save/addDetail
export const reportfieldManagesaveaddDetail = (query) => {
  return rijiangyu({
    url: `/soilWater/runoffField/record/fieldManage/save/addDetail?headNo=${query[0].headNo}`,
    method: "post",
    data: query,
  });
};

//列表查询田间管理明细
//GET /soilWater/runoffField/record/fieldManage/view/listDetail
export const reportfieldManageviewlistDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/fieldManage/view/listDetail",
    method: "get",
    params: query,
    data: query,
  });
};

//田间管理记录审批
//POST /soilWater/runoffField/record/fieldManage/edit/doApprove
export const reportfieldManageeditdoApprove = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/fieldManage/edit/doApprove",
    method: "post",
    data: query,
  });
};

//撤回田间管理记录
//GET /soilWater/runoffField/record/fieldManage/edit/revokeRecord
export const reportfieldManageeditrevokeRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/fieldManage/edit/revokeRecord",
    method: "get",
    params: query,
  });
};

//提交田间管理记录
//GET /soilWater/runoffField/record/fieldManage/edit/submitRecord
export const reportfieldManageeditsubmitRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/fieldManage/edit/submitRecord",
    method: "get",
    params: query,
  });
};

//删除田间管理记录(包括对应明细)
//GET /soilWater/runoffField/record/fieldManage/remove/delRecord
export const reportfieldManageremovedelRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/fieldManage/remove/delRecord",
    method: "get",
    params: query,
  });
};

//分页查询田间管理记录
//POST /soilWater/runoffField/record/fieldManage/view/pageRecord
export const reportfieldManageviewpageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/fieldManage/view/pageRecord",
    method: "post",
    data: query,
  });
};

//新增/修改田间管理记录
//POST /soilWater/runoffField/record/fieldManage/save/saveRecord
export const reportfieldManagesavesaveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/fieldManage/save/saveRecord",
    method: "post",
    data: query,
  });
};

//通过测站编号查询降雨记录
///soilWater/runoffField/rainfall/getRainfallByStcd
export const waterreportrainfallgetRainfallByStcd = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/getRainfallByStcd",
    method: "post",
    data: query,
    params: query,
  });
};

//列表查询字典项
//GET /soil/water/sys/dict/view/listDictItem

export const sysdictviewlistDictItem = (query) => {
  return request({
    url: "/soil/water/sys/dict/view/listDictItem",
    method: "get",
    params: query,
  });
};
//自动生成日降雨记录表
///soilWater/runoffField/rainfall/generateRainfallRecords
export const reportrainfallgenerateRainfallRecords = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/generateRainfallRecords",
    method: "post",
    data: query,
    params: query,
  });
};
//0702-植被郁闭度记录审批
//POST /soilWater/runoffField/record/coverage/edit/doApprove
export const reportcoverageeditdoApprove = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/coverage/edit/doApprove",
    method: "post",
    data: query,
  });
};
//0702-分页查询待审批植被郁闭度记录
//POST /soilWater/runoffField/record/coverage/view/listUnApproveRecord
export const coverageviewlistUnApproveRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/coverage/view/listUnApproveRecord",
    method: "post",
    data: query,
  });
};
//0702-撤回植被郁闭度记录
//GET /soilWater/runoffField/record/coverage/edit/revokeCoverageRecord
export const coverageeditrevokeCoverageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/coverage/edit/revokeCoverageRecord",
    method: "get",
    params: query,
  });
};

//0702-提交植被郁闭度记录
//GET /soilWater/runoffField/record/coverage/edit/submitCoverageRecord
export const coverageeditsubmitCoverageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/coverage/edit/submitCoverageRecord",
    method: "get",
    params: query,
  });
};

//0702-撤回泥沙采样记录
//GET /soilWater/runoffField/record/sediment/edit/revokeSedimentRecord

export const reportsedimenteditrevokeSedimentRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/sediment/edit/revokeSedimentRecord",
    method: "get",
    params: query,
  });
};

//0702-提交泥沙采样记录
//GET /soilWater/runoffField/record/sediment/edit/submitSedimentRecord
export const sedimenteditsubmitSedimentRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/sediment/edit/submitSedimentRecord",
    method: "get",
    params: query,
  });
};
//批量删除tdr法明细
//POST /soilWater/runoffField/coverage/remove/delCoverageTdrDetail
export const coverageremovedelCoverageTdrDetail = (query) => {
  return rijiangyu({
    url: `/soilWater/runoffField/record/coverage/remove/delCoverageTdrDetail?headNo=${query.headNo}`,
    method: "post",
    data: query.detailNo,
  });
};

//列表查询tdr法明细
//GET /soilWater/runoffField/record/coverage/view/listCoverageTdrDetail
export const coverageviewlistCoverageTdrDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/coverage/view/listCoverageTdrDetail",
    method: "get",
    params: query,
  });
};

//新增tdr法明细
//POST /soilWater/runoffField/record/coverage/save/addCoverageTdrDetail
export const coveragesaveaddCoverageTdrDetail = (query) => {
  return rijiangyu({
    url: `/soilWater/runoffField/record/coverage/save/addCoverageTdrDetail?headNo=${query[0].headNo}`,
    method: "post",
    data: query,
  });
};

//删除植被郁闭度记录
//GET /soilWater/runoffField/record/coverage/remove/delCoverageRecord
export const coverageremovedelCoverageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/coverage/remove/delCoverageRecord",
    method: "get",
    params: query,
  });
};
//新增/修改植被郁闭度记录
//POST /soilWater/runoffField/record/coverage/save/saveCoverageRecord

export const coveragesavesaveCoverageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/coverage/save/saveCoverageRecord",
    method: "post",
    data: query,
  });
};

//分页查询植被郁闭度记录
//POST /soilWater/runoffField/record/coverage/view/pageCoverageRecord
export const coverageviewpageCoverageRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/coverage/view/pageCoverageRecord",
    method: "post",
    data: query,
  });
};

//批量删除泥沙采样明细
//POST /soilWater/runoffField/record/sediment/remove/delSedimentDetail
export const sedimentremovedelSedimentDetail = (query) => {
  return rijiangyu({
    url: `/soilWater/runoffField/record/sediment/remove/delSedimentDetail?headNo=${query.headNo}`,
    method: "post",
    data: query.detailNo,
  });
};
//增加泥沙采样明细
//POST /soilWater/runoffField/record/sediment/save/addSedimentDetail

export const reportsedimentsaveaddSedimentDetail = (query) => {
  return rijiangyu({
    url: `/soilWater/runoffField/record/sediment/save/addSedimentDetail?headNo=${query[0].headNo}`,
    method: "post",
    data: query,
  });
};

//列表查询泥沙采样明细
//GET /soilWater/runoffField/record/sediment/view/listSedimentDetail
export const sedimentviewlistSedimentDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/sediment/view/listSedimentDetail",
    method: "get",
    params: query,
  });
};

//新增/修改泥沙采样记录
//POST /soilWater/runoffField/sediment/save/saveSedimentRecord
export const sedimentsavesaveSedimentRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/sediment/save/saveSedimentRecord",
    method: "post",
    data: query,
  });
};

//删除泥沙采样记录(包括对应明细)
//GET /soilWater/runoffField/record/sediment/remove/delSedimentRecord
export const sedimentremovedelSedimentRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/sediment/remove/delSedimentRecord",
    method: "get",
    params: query,
  });
};

//分页查询泥沙采样记录
//POST /soilWater/runoffField/record/sediment/view/pageSedimentRecord
export const reportsedimentviewpageSedimentRecord = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/record/sediment/view/pageSedimentRecord",
    method: "post",
    data: query,
  });
};

//删除降雨过程记录
//GET /soilWater/runoffField/rainfall/progress/remove/delRainfallProgress
export const rainfallprogressremovedelRainfallProgress = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/progress/remove/delRainfallProgress",
    method: "get",
    params: query,
  });
};
//下载日降雨模板
///soilWater/runoffField/rainfall/downloadRainFallDailyTemp
//下载降雨过程导入模板
export const reportrainfalldownloadRainFallDailyTemp = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/downloadRainFallDailyTemp",
    method: "get",
    responseType: "blob",
  });
};
//GET /soilWater/runoffField/rainfall/progress/download/downloadTemp
export const progressdownloaddownloadTemp = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/progress/download/downloadTemp",
    method: "get",
    responseType: "blob",
  });
};

//分页查询降雨过程数据
//POST /soilWater/runoffField/rainfall/progress/view/pageRainfallProgress

export const progressviewpageRainfallProgress = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/progress/view/pageRainfallProgress",
    method: "post",
    data: query,
  });
};

//新增/修改降雨过程数据
//POST /soilWater/runoffField/rainfall/progress/save/saveRainfallProgress
export const progresssavesaveRainfallProgress = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/progress/save/saveRainfallProgress",
    method: "post",
    data: query,
  });
};
//新增/修改次降雨数据
export const sequencesavesaveRainfallSequence = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/sequence/save/saveRainfallSequence",
    method: "post",
    data: query,
    params: query,
  });
};

//删除次降雨数据
export const sequenceremovedelRainfallSequence = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/sequence/remove/delRainfallSequence",
    method: "get",
    data: query,
    params: query,
  });
};

//分页查询次降雨数据
//POST /soilWater/runoffField/rainfall/sequence/view/pageRainfallSequence
//接口ID：24970919
//接口地址：https://www.apifox.cn/web/project/945884/apis/api-24970919
export const sequenceviewpageRainfallSequence = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/sequence/view/pageRainfallSequence",
    method: "post",
    data: query,
    params: query,
  });
};

//新增/修改集流设备
//POST /soilWater/runoffField/collect/device/save/saveDeviceInfo

export const collectdevicesavesaveDeviceInfo = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/collect/device/save/saveDeviceInfo",
    method: "post",
    data: query,
    params: query,
  });
};
//分页查询集流设备
//POST /soilWater/runoffField/collect/device/view/pageDeviceInfo
export const collectdeviceviewpageDeviceInfo = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/collect/device/view/pageDeviceInfo",
    method: "post",
    data: query,
  });
};
//删除集流设备
//GET /soilWater/runoffField/collect/device/remove/delDeviceInfo

export const collectdeviceremovedelDeviceInfo = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/collect/device/remove/delDeviceInfo",
    method: "get",
    data: query,
    params: query,
  });
};
//新增/修改采样设备信息
//POST /soilWater/runoffField/sample/device/save/saveDeviceWeight
export const devicesavesaveDeviceWeight = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/sample/device/save/saveDeviceWeight",
    method: "post",
    data: query,
  });
};
//分页查询采样设备
//POST /soilWater/runoffField/sample/device/view/pageDeviceWeightInfo
export const viewpageDeviceWeightInfo = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/sample/device/view/pageDeviceWeightInfo",
    method: "post",
    data: query,
    params: query,
  });
};
//删除采样设备记录
//GET /soilWater/runoffField/sample/device/remove/delDeviceInfo

export const deviceremovedelDeviceInfo = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/sample/device/remove/delDeviceInfo",
    method: "get",
    data: query,
    params: query,
  });
};
//删除测站记录
//GET /soilWater/runoffField/station/remove/delStation

export const stationremovedelStation = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/station/remove/delStation",
    method: "get",
    data: query,
    params: query,
  });
};
//新增/修改测站信息
//POST /soilWater/runoffField/station/save/saveStationInfo
export const stationsavesaveStationInfo = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/station/save/saveStationInfo",
    method: "post",
    data: query,
    params: query,
  });
};
//分页查询测站信息
//POST /soilWater/runoffField/station/view/pageStationInfo

export const viewPageStationInfo = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/station/view/pageStationInfo",
    method: "post",
    data: query,
    params: query,
  });
};
//删除作物测产详情

export const runoffDelCropYieldDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/runoff/delCropYieldDetail",
    method: "post",
    data: query,
    params: query,
  });
};
//通过作物测产头表编号查询详情表编号

export const runoffgetCropYieldDetailDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/runoff/getCropYieldDetailDetail",
    method: "post",
    data: query,
    params: query,
  });
};
//新增/修改作物测产头表

export const runoffAddOrUpdateCropYield = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/runoff/addOrUpdateCropYield",
    method: "post",
    data: query,
  });
};
//新增/修改作物测产详情表

export const runoffaddOrUpdateCropYieldDetail = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/runoff/addOrUpdateCropYieldDetail",
    method: "post",
    params: query,
    data: query,
  });
};
//删除作物测产头表

export const runofDelCropYield = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/runoff/delCropYield",
    method: "post",
    data: query,
  });
};
//作物测产头表列表查询

export const runoffGetCropYieldList = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/runoff/getCropYieldList",
    method: "post",
    data: query,
  });
};
//删除田间管理信息

export const runoffDelAreaManage = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/runoff/delAreaManage",
    method: "post",
    data: query,
  });
};
//新增/修改田间管理

export const runoffAddOrUpdateAreaManage = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/runoff/addOrUpdateAreaManage",
    method: "post",
    data: query,
  });
};
//田间管理列表查询

export const runoffgetAreaManageList = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/runoff/getAreaManageList",
    method: "post",
    data: query,
  });
};
//通过excel导入日降雨信息

export const rainfallImportRainfallDaily = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/importRainfallDaily",
    method: "post",
    data: query,
  });
};
//删除日降雨

export const rainfallDelRainfallDaily = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/delRainfallDaily",
    method: "post",
    data: query,
  });
};
//新增/修改日降雨

export const rainfallAddOrUpdateRainfallDaily = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/addOrUpdateRainfallDaily",
    method: "post",
    data: query,
  });
};
//查询日降雨列表

export const rainfallgetRainfallDailyList = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/rainfall/getRainfallDailyList",
    method: "post",
    data: query,
  });
};
//登录获取token

export const loginDoLogin = (query) => {
  return rijiangyu({
    url: "/soil/water/sys/login/doLogin",
    method: "get",
    params: query,
  });
};
//分页查询用户列表

export const userviewPageUser = (query) => {
  return request({
    url: "/soil/water/sys/user/view/pageUser",
    method: "post",
    data: query,
  });
};

//新增/修改用户信息
export const savesaveUser = (query) => {
  return request({
    url: "/soil/water/sys/user/save/saveUser",
    method: "post",
    data: query,
  });
};

//删除用户 /soil/water/sys/role/remove/deleteUserRole
export const deleteUserRole = (query) => {
  return request({
    url: "/soil/water/sys/user/remove/deleteUser",
    method: "get",
    params: query,
  });
};

// /分页查询操作日志 /soil/water/sys/log/view/pageOperationLog
export const pageOperationLog = (query) => {
  return request({
    url: "/soil/water/sys/log/view/pageOperationLog",
    method: "post",
    data: query,
  });
};

//列表查询角色/soil/water/sys/role/view/listRole
export const listRole = (query) => {
  return request({
    url: "/soil/water/sys/role/view/listRole",
    method: "get",
    data: query,
  });
};

//新增/修改角色信息 /soil/water/sys/role/save/saveRole
export const saveRole = (query) => {
  return request({
    url: "/soil/water/sys/role/save/saveRole",
    method: "post",
    data: query,
  });
};

//删除角色 /soil/water/sys/role/remove/deleteRole
export const deleteRole = (query) => {
  return request({
    url: "/soil/water/sys/role/remove/deleteRole",
    method: "get",
    params: query,
  });
};

//列表查询数据字典 /soil/water/sys/dict/view/listDict
export const viewlistDict = (query) => {
  return request({
    url: "/soil/water/sys/dict/view/listDict",
    method: "post",
    params: query,
  });
};

//新增/修改数据字典 /soil/water/sys/dict/save/saveDict
export const saveDict = (query) => {
  return request({
    url: "/soil/water/sys/dict/save/saveDict",
    method: "post",
    data: query,
  });
};

//删除数据字典及对应字典项/soil/water/sys/dict/remove/deleteDict
export const deleteDict = (query) => {
  return request({
    url: "/soil/water/sys/dict/remove/deleteDict",
    method: "get",
    params: query,
  });
};

//新增/修改字典项/soil/water/sys/dict/save/saveDictItem
export const saveDictItem = (query) => {
  return request({
    url: "/soil/water/sys/dict/save/saveDictItem",
    method: "post",
    data: query,
  });
};

//删除字典项 /soil/water/sys/dict/remove/deleteDictItem
export const deleteDictItem = (query) => {
  return request({
    url: "/soil/water/sys/dict/remove/deleteDictItem",
    method: "get",
    params: query,
  });
};

//列表查询菜单树/soil/water/sys/menu/view/listMenuTree
export const listMenuTree = (query) => {
  return request({
    url: "/soil/water/sys/menu/view/listMenuTree",
    method: "get",
    data: query,
  });
};

//新增/修改菜单信息/soil/water/sys/menu/save/saveMenu
export const saveMenu = (query) => {
  return request({
    url: "/soil/water/sys/menu/save/saveMenu",
    method: "post",
    data: query,
  });
};

//删除菜单 /soil/water/sys/menu/remove/deleteMenu
export const deleteMenu = (query) => {
  return request({
    url: "/soil/water/sys/menu/remove/deleteMenu",
    method: "get",
    params: query,
  });
};

//角色菜单绑定/soil/water/sys/menu/save/bindRoleMenu
export const bindRoleMenu = (query) => {
  return request({
    url: "/soil/water/sys/menu/save/bindRoleMenu",
    method: "post",
    data: query,
  });
};

//列表查询角色菜单/soil/water/sys/menu/view/listRoleMenuTree
export const listRoleMenuTree = (query) => {
  return request({
    url: "/soil/water/sys/menu/view/listRoleMenuTree",
    method: "get",
    params: query,
  });
};

//用户角色绑定/soil/water/sys/role/save/bindUserRole
export const bindUserRole = (query) => {
  return request({
    url: "/soil/water/sys/role/save/bindUserRole",
    method: "post",
    data: query,
    params: query,
  });
};

//列表查询用户角色/soil/water/sys/role/view/listUserRole
export const listUserRole = (query) => {
  return request({
    url: "/soil/water/sys/role/view/listUserRole",
    method: "get",
    params: query,
  });
};

//根据token获取当前用户信息 /soil/water/sys/login/getCurrentUser
export const getCurrentUser = (query) => {
  return rijiangyu({
    url: "/soil/water/sys/login/getCurrentUser",
    method: "post",
    data: query,
  });
};

//分页查询打卡记录/
export const pageAttendanceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/attendance/view/pageAttendanceRecord",
    method: "post",
    data: query,
  });
};

//新增-修改打卡记录
export const saveAttendanceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/attendance/save/saveAttendanceRecord",
    method: "post",
    data: query,
  });
};

//
export const delAttendanceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/attendance/remove/delAttendanceRecord",
    method: "post",
    params: query,
  });
};

//导出打卡记录列表
export const exportAttendanceRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/attendance/export/exportAttendanceRecord",
    method: "post",
    params: query,
  });
};

//分页查询出差申请
export const viewpageTripApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/trip/view/pageTripApply",
    method: "post",
    data: query,
  });
};

//新增-修改出差申请记录
export const saveTripApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/trip/save/saveTripApply",
    method: "post",
    data: query,
  });
};

//撤回出差申请
export const revokeTripApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/trip/edit/revokeTripApply",
    method: "post",
    params: query,
  });
};

//提交出差申请
export const submitTripApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/trip/edit/submitTripApply",
    method: "post",
    params: query,
  });
};

//导出出差申请列表
export const exportTripApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/trip/export/exportTripApply",
    method: "post",
    params: query,
  });
};
//删除出差申请
export const delTripApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/trip/remove/delTripApply",
    method: "post",
    params: query,
  });
};
//审批出差申请
export const tripdoApprove = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/trip/edit/doApprove",
    method: "post",
    data: query,
  });
};

//分页查询资金支付明细
export const pagePaymentDetail = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/payment/view/pagePaymentDetail",
    method: "post",
    data: query,
  });
};

//新增-修改资金支付明细
export const savePaymentDetail = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/payment/save/savePaymentDetail",
    method: "post",
    data: query,
  });
};

//删除资金支付明细
export const delPaymentDetail = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/payment/remove/delPaymentDetail",
    method: "post",
    params: query,
  });
};

//分页查询计量认证管理记录
export const pageMeteringAuthentication = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/meteringAuthentication/view/pageMeteringAuthentication",
    method: "post",
    data: query,
  });
};

//新增-修改计量认证管理记录
export const saveMeteringAuthentication = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/meteringAuthentication/save/saveMeteringAuthentication",
    method: "post",
    data: query,
  });
};

//删除计量认证管理记录
export const delMeteringAuthentication = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/meteringAuthentication/remove/delMeteringAuthentication",
    method: "post",
    params: query,
  });
};

///分页查询请假申请
export const pageLeaveApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/leave/view/pageLeaveApply",
    method: "post",
    data: query,
  });
};

//新增-修改请假申请记录
export const saveLeaveApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/leave/save/saveLeaveApply",
    method: "post",
    data: query,
  });
};

//撤回请假申请
export const revokeLeaveApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/leave/edit/revokeLeaveApply",
    method: "post",
    params: query,
  });
};

//提交请假申请
export const submitLeaveApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/leave/edit/submitLeaveApply",
    method: "post",
    params: query,
  });
};
//删除请假申请
export const delLeaveApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/leave/remove/delLeaveApply",
    method: "post",
    params: query,
  });
};

//审批请假申请
export const leavedoApprove = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/leave/edit/doApprove",
    method: "post",
    data: query,
  });
};
//分页查询外出办公申请
export const pageOutApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/outside/view/pageOutApply",
    method: "post",
    data: query,
  });
};

//新增-修改外出办公申请
export const saveOutApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/outside/save/saveOutApply",
    method: "post",
    data: query,
  });
};

//撤回外出办公申请
export const revokeOutApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/outside/edit/revokeOutApply",
    method: "post",
    params: query,
  });
};

//提交外出办公申请
export const submitOutApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/outside/edit/submitOutApply",
    method: "post",
    params: query,
  });
};

//删除外出办公申请
export const delOutApply = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/outside/remove/delOutApply",
    method: "post",
    params: query,
  });
};
//审批外出办公申请
export const outsidedoApprove = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/outside/edit/doApprove",
    method: "post",
    data: query,
  });
};
//列表查询日常考勤情况（包含所有站点工作人员，未签到则没有签到详情信息）
export const listDailyRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/attendance/view/listDailyRecord",
    method: "post",
    params: query,
  });
};

//查询个人考勤日历
export const getAttendanceCalendar = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/attendance/view/getAttendanceCalendar",
    method: "post",
    data: query,
  });
};

//分页查询采购记录
export const pagePurchaseRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/purchase/view/pagePurchaseRecord",
    method: "post",
    data: query,
  });
};

//新增 - 修改采购记录;
export const savePurchaseRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/purchase/save/savePurchaseRecord",
    method: "post",
    data: query,
  });
};

//删除采购记录
export const delPurchaseRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/purchase/remove/delPurchaseRecord",
    method: "post",
    params: query,
  });
};
//分页查询科技服务记录
export const pageTechServRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/technology/view/pageTechServRecord",
    method: "post",
    data: query,
  });
};

//新增-修改科技服务记录
export const saveTechServRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/technology/save/saveTechServRecord",
    method: "post",
    data: query,
  });
};

//删除科技服务记录
export const delTechServRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/technology/remove/delTechServRecord",
    method: "post",
    params: query,
  });
};

//分页查询参观检查记录
export const pageVisitRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/visit/view/pageVisitRecord",
    method: "post",
    data: query,
  });
};

//新增-修改参观检查记录
export const saveVisitRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/visit/save/saveVisitRecord",
    method: "post",
    data: query,
  });
};

//删除参观检查记录
export const delVisitRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/visit/remove/delVisitRecord",
    method: "post",
    params: query,
  });
};

//查询节假日
export const listHolidays = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/attendance/view/listHolidays",
    method: "post",
    params: query,
  });
};

//分页查询app版本记录
export const pageAppVersion = (query) => {
  return request({
    url: "/soil/water/sys/app/view/pageAppVersion",
    method: "post",
    data: query,
  });
};

//新增-修改app版本
export const saveAppVersion = (query) => {
  return request({
    url: "/soil/water/sys/app/save/saveAppVersion",
    method: "post",
    data: query,
  });
};

//删除app版本记录
export const delAppVersion = (query) => {
  return request({
    url: "/soil/water/sys/app/remove/delAppVersion",
    method: "post",
    params: query,
  });
};

//文件下载/
export const downloadFile = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/file/download",
    method: "get",
    params: query,
    responseType: "blob",
  });
};

////获取月度日降雨
export const getDailyRainfall = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/attendance/view/listStationDailyRainfall",
    method: "post",
    data: query,
  });
};

//分页查询巡检项目
export const pagePatrolItem = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/patrol/view/pagePatrolItem",
    method: "post",
    data: query,
  });
};

//分页查询巡检记录
export const pagePatrolRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/patrol/view/pagePatrolRecord",
    method: "post",
    data: query,
  });
};

//分页查询归档记录
export const pageDocumentationRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/documentation/view/pageDocumentationRecord",
    method: "post",
    data: query,
  });
};

//导出归档记录列表
export const soilWatermanagemaintenanceexportexportDocumentationRecord = (
  query
) => {
  return xiaoliuyu({
    url: "/soilWater/manage/documentation/export/exportDocumentationRecord",
    method: "post",
    params: query,
    data: query,
    responseType: "blob",
  });
};

//新增-修改归档记录
export const saveDocumentationRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/documentation/save/saveDocumentationRecord",
    method: "post",
    data: query,
  });
};

//删除归档记录
export const delDocumentationRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/documentation/remove/delDocumentationRecord",
    method: "post",
    params: query,
  });
};

//新增-修改巡检项目
export const savePatrolItem = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/patrol/save/savePatrolItem",
    method: "post",
    data: query,
  });
};

//删除巡检项目
export const delPatrolItem = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/patrol/remove/delPatrolItem",
    method: "post",
    params: query,
  });
};

//删除巡检记录
export const delPatrolRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/patrol/remove/delPatrolRecord",
    method: "post",
    params: query,
  });
};
// /查询巡检记录明细
export const getPatrolRecord = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/patrol/view/getPatrolRecord",
    method: "post",
    params: query,
  });
};

//列表查询巡检坐标点位
export const listPatrolTrack = (query) => {
  return xiaoliuyu({
    url: "/soilWater/manage/patrol/view/listPatrolTrack",
    method: "post",
    params: query,
  });
};

//列表查询降雨年统计
export const listRainfallYearCount = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/statistics/view/listRainfallYearCount",
    method: "post",
    data: query,
  });
};

//列表查询月降雨统计
export const listRainfallMonthCount = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/statistics/view/listRainfallMonthCount",
    method: "post",
    data: query,
  });
};

//列表查询小区字典
export const listAreaDict = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/areaInfo/view/listAreaDict",
    method: "get",
    params: query,
  });
};

//查询流域年度土壤水分统计(stType为2小流域控制站)
export const getSoilMoistureStatisticssmallbasin = (query) => {
  return xiaoliuyujiangyu({
    url: "/small/basin/reorganize/statistics/view/getSoilMoistureStatistics",
    method: "post",
    data: query,
  });
};

// /列表查询小区土壤水分过程(stType为1坡面径流场)
export const listSoilMoistureStatistics = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/statistics/view/listSoilMoistureStatistics",
    method: "post",
    data: query,
  });
};

//查询小区土壤水分统计概况
export const getSoilMoistureStatisticsrunoffField = (query) => {
  return rijiangyu({
    url: "/soilWater/runoffField/statistics/view/getSoilMoistureStatistics",
    method: "post",
    data: query,
  });
};
